When creating a widget source from a view, anyone with "administer embed widgets" access can create a source from any view, but they should only be able use views that they have access to.
In the list of sources, all sources are shown, whether the user has access to the page, block, view, or not. The list should only contain sources that correspond to content that the user has access to.
If the user tries to preview sources or widgets made from restricted content, access is denied, so the risk isn't too serious. Names of restricted content may show up in lists on embed widgets administration pages, but the actual content is safe.
As another feature, a "User Login" tab should be added to a widget automatically if a user doesn't have access to the content.
Comments
Comment #1
alex ua commentedAll good points- great thinking!
Comment #2
jtsnow commentedUser login form is now shown in widgets if user does not have access to the content.
Comment #3
jtsnow commented