Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
declarative_authorization
Conversations
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
Acting as admin when reading a web page programatically
15 views
Skip to first unread message
Steven Noble
unread,
Mar 3, 2016, 9:26:30 PM
3/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to declarative_authorization
In one of my sidekiq workers, I load a page that's only visible to admins, like this:
require
'open-uri'
html
=
open
(
url
,
&:
read
)
How can I validate myself as an admin here so I am permitted to load the page?
Thanks,
Steven
Reply all
Reply to author
Forward
0 new messages