{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/bioblend/issues/141","labels_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/141/comments","events_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/141/events","html_url":"https://github.com/galaxyproject/bioblend/issues/141","id":69538906,"number":141,"title":"set_library_permissions bug","user":{"login":"Lobour","id":11209361,"avatar_url":"https://avatars.githubusercontent.com/u/11209361?v=3","gravatar_id":"","url":"https://api.github.com/users/Lobour","html_url":"https://github.com/Lobour","followers_url":"https://api.github.com/users/Lobour/followers","following_url":"https://api.github.com/users/Lobour/following{/other_user}","gists_url":"https://api.github.com/users/Lobour/gists{/gist_id}","starred_url":"https://api.github.com/users/Lobour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lobour/subscriptions","organizations_url":"https://api.github.com/users/Lobour/orgs","repos_url":"https://api.github.com/users/Lobour/repos","events_url":"https://api.github.com/users/Lobour/events{/privacy}","received_events_url":"https://api.github.com/users/Lobour/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-20T08:48:55Z","updated_at":"2015-04-21T13:59:32Z","closed_at":"2015-04-21T13:57:26Z","body":"Hello, \r\n\r\nSadly, apparently this is not only a UI bug.\r\nI am trying to create a tool in order to allow normal users to create a data library with the right permissions for them on my Galaxy instance.\r\n\r\nWhen using the set_library_permissions method, it sometimes works as intended, and sometimes gives the permissions to another user. I have no idea what is causing that.\r\n\r\nHere is my script : http://pastebin.com/zHB89XgG \r\n(Of course, if I uncomment the asserts, I get assertion errors, also, I tried as well with the user id formatted as a list, and i get the exact same behaviour)\r\n\r\nHere is the stdout : http://pastebin.com/eExmWVB3\r\nThere is not any stderr, and no errors showing in the paster.log .\r\n\r\nI am using python 2.7.3, and the latest version of Galaxy.\r\nLet me know if i can provide anything else...\r\nRegards,\r\nLoïc"},"comment":{"url":"https://api.github.com/repos/galaxyproject/bioblend/issues/comments/94803575","html_url":"https://github.com/galaxyproject/bioblend/issues/141#issuecomment-94803575","issue_url":"https://api.github.com/repos/galaxyproject/bioblend/issues/141","id":94803575,"user":{"login":"nsoranzo","id":4924623,"avatar_url":"https://avatars.githubusercontent.com/u/4924623?v=3","gravatar_id":"","url":"https://api.github.com/users/nsoranzo","html_url":"https://github.com/nsoranzo","followers_url":"https://api.github.com/users/nsoranzo/followers","following_url":"https://api.github.com/users/nsoranzo/following{/other_user}","gists_url":"https://api.github.com/users/nsoranzo/gists{/gist_id}","starred_url":"https://api.github.com/users/nsoranzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsoranzo/subscriptions","organizations_url":"https://api.github.com/users/nsoranzo/orgs","repos_url":"https://api.github.com/users/nsoranzo/repos","events_url":"https://api.github.com/users/nsoranzo/events{/privacy}","received_events_url":"https://api.github.com/users/nsoranzo/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T13:59:32Z","updated_at":"2015-04-21T13:59:32Z","body":"As explained on IRC, there was a documentation bug: `access_in`, `modify_in` and `add_in` must be lists of role ids, not of user ids."}}