{"action":"opened","issue":{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/547","repository_url":"https://api.github.com/repos/Laravel-Backpack/CRUD","labels_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/547/labels{/name}","comments_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/547/comments","events_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/547/events","html_url":"https://github.com/Laravel-Backpack/CRUD/issues/547","id":214390251,"number":547,"title":"CRUD allowAccess setting is misleading","user":{"login":"ockam","id":229621,"avatar_url":"https://avatars1.githubusercontent.com/u/229621?v=3","gravatar_id":"","url":"https://api.github.com/users/ockam","html_url":"https://github.com/ockam","followers_url":"https://api.github.com/users/ockam/followers","following_url":"https://api.github.com/users/ockam/following{/other_user}","gists_url":"https://api.github.com/users/ockam/gists{/gist_id}","starred_url":"https://api.github.com/users/ockam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ockam/subscriptions","organizations_url":"https://api.github.com/users/ockam/orgs","repos_url":"https://api.github.com/users/ockam/repos","events_url":"https://api.github.com/users/ockam/events{/privacy}","received_events_url":"https://api.github.com/users/ockam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T13:34:22Z","updated_at":"2017-03-15T13:34:22Z","closed_at":null,"body":"The way I initially understood it (before diving into the code) was that allowAccess would simply set the permission, not add to a default set.\r\n\r\nCurrently, allowAccess adds the passed permission array to CrudPanel default access ('list', 'create', 'update', 'delete').\r\n\r\nSo there should be 2 methods: addAccess (with the current behavior) and allowAccess, which would replace default permission.\r\n\r\nOr a least, explain the behavior in the doc/boilerplate."}}
{"actor":{"display_login":"ockam"}}