{"action":"created","issue":{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/199","labels_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/199/comments","events_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/199/events","html_url":"https://github.com/mayan-edms/mayan-edms/issues/199","id":85565292,"number":199,"title":"Error during template rendering on /document/folder/add with non-admin user","user":{"login":"mnard","id":12764556,"avatar_url":"https://avatars.githubusercontent.com/u/12764556?v=3","gravatar_id":"","url":"https://api.github.com/users/mnard","html_url":"https://github.com/mnard","followers_url":"https://api.github.com/users/mnard/followers","following_url":"https://api.github.com/users/mnard/following{/other_user}","gists_url":"https://api.github.com/users/mnard/gists{/gist_id}","starred_url":"https://api.github.com/users/mnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnard/subscriptions","organizations_url":"https://api.github.com/users/mnard/orgs","repos_url":"https://api.github.com/users/mnard/repos","events_url":"https://api.github.com/users/mnard/events{/privacy}","received_events_url":"https://api.github.com/users/mnard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"rosarior","id":413955,"avatar_url":"https://avatars.githubusercontent.com/u/413955?v=3","gravatar_id":"","url":"https://api.github.com/users/rosarior","html_url":"https://github.com/rosarior","followers_url":"https://api.github.com/users/rosarior/followers","following_url":"https://api.github.com/users/rosarior/following{/other_user}","gists_url":"https://api.github.com/users/rosarior/gists{/gist_id}","starred_url":"https://api.github.com/users/rosarior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosarior/subscriptions","organizations_url":"https://api.github.com/users/rosarior/orgs","repos_url":"https://api.github.com/users/rosarior/repos","events_url":"https://api.github.com/users/rosarior/events{/privacy}","received_events_url":"https://api.github.com/users/rosarior/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/milestones/6","html_url":"https://github.com/mayan-edms/mayan-edms/milestones/1.1.2","labels_url":"https://api.github.com/repos/mayan-edms/mayan-edms/milestones/6/labels","id":1152561,"number":6,"title":"1.1.2","description":"","creator":{"login":"rosarior","id":413955,"avatar_url":"https://avatars.githubusercontent.com/u/413955?v=3","gravatar_id":"","url":"https://api.github.com/users/rosarior","html_url":"https://github.com/rosarior","followers_url":"https://api.github.com/users/rosarior/followers","following_url":"https://api.github.com/users/rosarior/following{/other_user}","gists_url":"https://api.github.com/users/rosarior/gists{/gist_id}","starred_url":"https://api.github.com/users/rosarior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosarior/subscriptions","organizations_url":"https://api.github.com/users/rosarior/orgs","repos_url":"https://api.github.com/users/rosarior/repos","events_url":"https://api.github.com/users/rosarior/events{/privacy}","received_events_url":"https://api.github.com/users/rosarior/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-06-06T10:52:30Z","updated_at":"2015-06-06T10:56:13Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-05T15:53:05Z","updated_at":"2015-06-09T08:53:18Z","closed_at":null,"body":"Hello,\r\nI've a non-admin user with a role that allows \"add document to folder\". \r\nWhen trying to perform this operation with this user, I get:\r\n\r\nAttributeError at /folders/document/multiple/folder/add/\r\n'list' object has no attribute 'all'\r\n...\r\nError during template rendering\r\nIn template /home/max/.virtualenvs/kt-mayan/src/mayan/mayan/apps/main/templates/main/generic_form_instance.html, error at line 52\r\n\r\nThe same operation with admin user succedes: so I suppose is something related to permissions."},"comment":{"url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/comments/110281086","html_url":"https://github.com/mayan-edms/mayan-edms/issues/199#issuecomment-110281086","issue_url":"https://api.github.com/repos/mayan-edms/mayan-edms/issues/199","id":110281086,"user":{"login":"mnard","id":12764556,"avatar_url":"https://avatars.githubusercontent.com/u/12764556?v=3","gravatar_id":"","url":"https://api.github.com/users/mnard","html_url":"https://github.com/mnard","followers_url":"https://api.github.com/users/mnard/followers","following_url":"https://api.github.com/users/mnard/following{/other_user}","gists_url":"https://api.github.com/users/mnard/gists{/gist_id}","starred_url":"https://api.github.com/users/mnard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnard/subscriptions","organizations_url":"https://api.github.com/users/mnard/orgs","repos_url":"https://api.github.com/users/mnard/repos","events_url":"https://api.github.com/users/mnard/events{/privacy}","received_events_url":"https://api.github.com/users/mnard/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T08:53:18Z","updated_at":"2015-06-09T08:53:18Z","body":"Version used: 1.1.0\r\nI'm very sorry: I cannot reproduce the effect any longer. I suspect that's because I kept tweaking permissions without knowing I was touching part of the problem cause.\r\nI'll notify you if I'll reproduce it again."}}