{"action":"opened","issue":{"url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/71","repository_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup","labels_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/71/comments","events_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/71/events","html_url":"https://github.com/zopefoundation/Products.GenericSetup/issues/71","id":367612803,"node_id":"MDU6SXNzdWUzNjc2MTI4MDM=","number":71,"title":"[py3] Permissions are imported as bytes but expected to be strings","user":{"login":"gforcada","id":1155680,"node_id":"MDQ6VXNlcjExNTU2ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1155680?v=4","gravatar_id":"","url":"https://api.github.com/users/gforcada","html_url":"https://github.com/gforcada","followers_url":"https://api.github.com/users/gforcada/followers","following_url":"https://api.github.com/users/gforcada/following{/other_user}","gists_url":"https://api.github.com/users/gforcada/gists{/gist_id}","starred_url":"https://api.github.com/users/gforcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforcada/subscriptions","organizations_url":"https://api.github.com/users/gforcada/orgs","repos_url":"https://api.github.com/users/gforcada/repos","events_url":"https://api.github.com/users/gforcada/events{/privacy}","received_events_url":"https://api.github.com/users/gforcada/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T01:02:10Z","updated_at":"2018-10-08T01:02:10Z","closed_at":null,"author_association":"NONE","body":"I was having a look at why some robot tests are failing on Plone 5.2 running on python 3.6 and noticed that the Plone controlpanel to manage actions was failing due to a permission missing.\r\n\r\nOn closer inspection, the ZMI seems to be also broken as there is no permission set on a given action.\r\n\r\nTurns out though, that the permission is imported from ``actions.xml`` but stored on the action object as ``(b'View',)`` but when compared with the list of available permissions, none of them matches because that list is a list of strings rather than bytes.\r\n\r\nWhich one should prevail? Available permissions should be also bytes or rather permissions should be imported as strings? :thinking: "}}
{"actor":{"display_login":"gforcada"}}