{"action":"created","issue":{"url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/173","repository_url":"https://api.github.com/repos/plone/plone.app.mosaic","labels_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/173/comments","events_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/173/events","html_url":"https://github.com/plone/plone.app.mosaic/issues/173","id":138827539,"number":173,"title":"Mosaic action permissions (Custom registry vs. Plone actions)","user":{"login":"tomgross","id":339384,"avatar_url":"https://avatars.githubusercontent.com/u/339384?v=3","gravatar_id":"","url":"https://api.github.com/users/tomgross","html_url":"https://github.com/tomgross","followers_url":"https://api.github.com/users/tomgross/followers","following_url":"https://api.github.com/users/tomgross/following{/other_user}","gists_url":"https://api.github.com/users/tomgross/gists{/gist_id}","starred_url":"https://api.github.com/users/tomgross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomgross/subscriptions","organizations_url":"https://api.github.com/users/tomgross/orgs","repos_url":"https://api.github.com/users/tomgross/repos","events_url":"https://api.github.com/users/tomgross/events{/privacy}","received_events_url":"https://api.github.com/users/tomgross/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plone/plone.app.mosaic/labels/04%20type:%20enhancement","name":"04 type: enhancement","color":"00fa00"},{"url":"https://api.github.com/repos/plone/plone.app.mosaic/labels/05%20type:%20question","name":"05 type: question","color":"fa00fa"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-06T19:37:28Z","updated_at":"2016-03-07T04:58:44Z","closed_at":null,"body":"With current mosaic (1.0b3) toolbar actions are defined in the registry. Setting fine grained permissions and/or conditions for visibility is not supported. Is there any special reason behind this?\r\n\r\nI haven't looked into the code but I think using Plone standard actions would be better in terms of transperency and flexibility.\r\n\r\nWhat do others think? Would this be possible / reasonable?\r\n\r\nMy usecase is mainly to set permissions on certain mosaic actions (e.g. allow setting a layout for integrators but not for editors)"},"comment":{"url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/comments/193100490","html_url":"https://github.com/plone/plone.app.mosaic/issues/173#issuecomment-193100490","issue_url":"https://api.github.com/repos/plone/plone.app.mosaic/issues/173","id":193100490,"user":{"login":"datakurre","id":160447,"avatar_url":"https://avatars.githubusercontent.com/u/160447?v=3","gravatar_id":"","url":"https://api.github.com/users/datakurre","html_url":"https://github.com/datakurre","followers_url":"https://api.github.com/users/datakurre/followers","following_url":"https://api.github.com/users/datakurre/following{/other_user}","gists_url":"https://api.github.com/users/datakurre/gists{/gist_id}","starred_url":"https://api.github.com/users/datakurre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datakurre/subscriptions","organizations_url":"https://api.github.com/users/datakurre/orgs","repos_url":"https://api.github.com/users/datakurre/repos","events_url":"https://api.github.com/users/datakurre/events{/privacy}","received_events_url":"https://api.github.com/users/datakurre/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T04:58:44Z","updated_at":"2016-03-07T04:58:44Z","body":"Portal actions would be ok for me, (especially to get the UI for free), but that needs work and cannot be done anymore without bbb for registry. Of course, at first it should be checked that there's nothing incompatible with portal actions in the current actions registry. "}}