{"action":"closed","issue":{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/213","labels_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/213/comments","events_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/213/events","html_url":"https://github.com/ploneintranet/ploneintranet/issues/213","id":78114670,"number":213,"title":"Create custom permission to protect views on Plone Site ","user":{"login":"mattss","id":1155400,"avatar_url":"https://avatars.githubusercontent.com/u/1155400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattss","html_url":"https://github.com/mattss","followers_url":"https://api.github.com/users/mattss/followers","following_url":"https://api.github.com/users/mattss/following{/other_user}","gists_url":"https://api.github.com/users/mattss/gists{/gist_id}","starred_url":"https://api.github.com/users/mattss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattss/subscriptions","organizations_url":"https://api.github.com/users/mattss/orgs","repos_url":"https://api.github.com/users/mattss/repos","events_url":"https://api.github.com/users/mattss/events{/privacy}","received_events_url":"https://api.github.com/users/mattss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-19T14:37:12Z","updated_at":"2015-05-19T16:50:23Z","closed_at":"2015-05-19T16:50:23Z","body":"At the moment, dashboard.html is registered for 'zope2.View', and then manually checks in the __call__ method for anonymous users and redirects them.\r\n\r\nThis is fairly hacky, and is also missing from other pages so that going to workspaces.html as anonymous gives me a blank page.\r\n\r\nProposal: Create a custom permission, assigned to 'Authenticated' by default and use it to protect all views registered on the Plone Site."}}