{"action":"created","issue":{"url":"https://api.github.com/repos/Narzerus/angular-permission/issues/149","repository_url":"https://api.github.com/repos/Narzerus/angular-permission","labels_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/149/comments","events_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/149/events","html_url":"https://github.com/Narzerus/angular-permission/issues/149","id":132807701,"number":149,"title":"Only and Except doing as a list of OR permissions","user":{"login":"GenZodd","id":5560567,"avatar_url":"https://avatars.githubusercontent.com/u/5560567?v=3","gravatar_id":"","url":"https://api.github.com/users/GenZodd","html_url":"https://github.com/GenZodd","followers_url":"https://api.github.com/users/GenZodd/followers","following_url":"https://api.github.com/users/GenZodd/following{/other_user}","gists_url":"https://api.github.com/users/GenZodd/gists{/gist_id}","starred_url":"https://api.github.com/users/GenZodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GenZodd/subscriptions","organizations_url":"https://api.github.com/users/GenZodd/orgs","repos_url":"https://api.github.com/users/GenZodd/repos","events_url":"https://api.github.com/users/GenZodd/events{/privacy}","received_events_url":"https://api.github.com/users/GenZodd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-10T20:21:12Z","updated_at":"2016-02-11T22:58:32Z","closed_at":"2016-02-11T22:58:31Z","body":"It looks like when I add a Only to my route if I put a list of permissions when the user can have any one of them they are treated like an AND not and OR. So user must have view and edit permissions not view or edit permission. Is there a way to set these up as a AND? "},"comment":{"url":"https://api.github.com/repos/Narzerus/angular-permission/issues/comments/183092773","html_url":"https://github.com/Narzerus/angular-permission/issues/149#issuecomment-183092773","issue_url":"https://api.github.com/repos/Narzerus/angular-permission/issues/149","id":183092773,"user":{"login":"masterspambot","id":581121,"avatar_url":"https://avatars.githubusercontent.com/u/581121?v=3","gravatar_id":"","url":"https://api.github.com/users/masterspambot","html_url":"https://github.com/masterspambot","followers_url":"https://api.github.com/users/masterspambot/followers","following_url":"https://api.github.com/users/masterspambot/following{/other_user}","gists_url":"https://api.github.com/users/masterspambot/gists{/gist_id}","starred_url":"https://api.github.com/users/masterspambot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterspambot/subscriptions","organizations_url":"https://api.github.com/users/masterspambot/orgs","repos_url":"https://api.github.com/users/masterspambot/repos","events_url":"https://api.github.com/users/masterspambot/events{/privacy}","received_events_url":"https://api.github.com/users/masterspambot/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T22:58:31Z","updated_at":"2016-02-11T22:58:31Z","body":"`Is there a way to set these up as a AND?` \r\nNo. And it won't. If need combined/complex permissions you should either use roles or create additional permissions.\r\n\r\n`When I try to go to this route with \"user\" permission nothing happened. When I try \"user\" and \"admin\" permission then all works fine and I was redirected.`\r\nThat is true. I gotta fix this asap. Mentioned already in #148."}}