{"action":"created","issue":{"url":"https://api.github.com/repos/ushahidi/platform/issues/526","repository_url":"https://api.github.com/repos/ushahidi/platform","labels_url":"https://api.github.com/repos/ushahidi/platform/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/ushahidi/platform/issues/526/comments","events_url":"https://api.github.com/repos/ushahidi/platform/issues/526/events","html_url":"https://github.com/ushahidi/platform/issues/526","id":102580221,"number":526,"title":"EPIC: Custom user roles","user":{"login":"ushbot","id":1826453,"avatar_url":"https://avatars.githubusercontent.com/u/1826453?v=3","gravatar_id":"","url":"https://api.github.com/users/ushbot","html_url":"https://github.com/ushbot","followers_url":"https://api.github.com/users/ushbot/followers","following_url":"https://api.github.com/users/ushbot/following{/other_user}","gists_url":"https://api.github.com/users/ushbot/gists{/gist_id}","starred_url":"https://api.github.com/users/ushbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ushbot/subscriptions","organizations_url":"https://api.github.com/users/ushbot/orgs","repos_url":"https://api.github.com/users/ushbot/repos","events_url":"https://api.github.com/users/ushbot/events{/privacy}","received_events_url":"https://api.github.com/users/ushbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ushahidi/platform/labels/2%20-%20Up%20Next","name":"2 - Up Next","color":"c7def8"},{"url":"https://api.github.com/repos/ushahidi/platform/labels/Enhancement","name":"Enhancement","color":"009800"},{"url":"https://api.github.com/repos/ushahidi/platform/labels/P3%20-%20Low","name":"P3 - Low","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"willdoran","id":2694405,"avatar_url":"https://avatars.githubusercontent.com/u/2694405?v=3","gravatar_id":"","url":"https://api.github.com/users/willdoran","html_url":"https://github.com/willdoran","followers_url":"https://api.github.com/users/willdoran/followers","following_url":"https://api.github.com/users/willdoran/following{/other_user}","gists_url":"https://api.github.com/users/willdoran/gists{/gist_id}","starred_url":"https://api.github.com/users/willdoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdoran/subscriptions","organizations_url":"https://api.github.com/users/willdoran/orgs","repos_url":"https://api.github.com/users/willdoran/repos","events_url":"https://api.github.com/users/willdoran/events{/privacy}","received_events_url":"https://api.github.com/users/willdoran/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ushahidi/platform/milestones/12","html_url":"https://github.com/ushahidi/platform/milestones/Responder%20Plan","labels_url":"https://api.github.com/repos/ushahidi/platform/milestones/12/labels","id":1390360,"number":12,"title":"Responder Plan","description":"","creator":{"login":"rjmackay","id":7965,"avatar_url":"https://avatars.githubusercontent.com/u/7965?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmackay","html_url":"https://github.com/rjmackay","followers_url":"https://api.github.com/users/rjmackay/followers","following_url":"https://api.github.com/users/rjmackay/following{/other_user}","gists_url":"https://api.github.com/users/rjmackay/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmackay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmackay/subscriptions","organizations_url":"https://api.github.com/users/rjmackay/orgs","repos_url":"https://api.github.com/users/rjmackay/repos","events_url":"https://api.github.com/users/rjmackay/events{/privacy}","received_events_url":"https://api.github.com/users/rjmackay/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-11-03T02:50:08Z","updated_at":"2015-12-16T00:00:13Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-08-23T02:00:13Z","updated_at":"2016-02-11T06:52:25Z","closed_at":null,"body":"User Need: More roles with various sets of permissions\r\nTriage: Pending\r\nPrimary users of this feature: Large teams with more complex internal workflows that require delegation of responsibilities to various roles\r\nPoint estimate: 34\r\n\r\n  \r\n\r\n## Introduction: \r\n\r\nUsers in a larger organization have different needs, and need different levels of access. Custom roles provides different levels of access to groups of users. These roles can be created and managed, and assigned permissions by an administrator.\r\n\r\n  \r\n\r\n## User Stories:\r\n\r\n1. As an administrator I need to be able to create, edit and delete custom user roles \r\n2. As a normal member (ie. user whose role doesn’t grant admin permissions) I should not be able to change my own role, or access permissions. \r\n3. As a normal member I shouldn’t be able to create, edit or delete user roles. \r\n4. As an admin I should be able to assign the following permissions to a role: \r\n    1. manage users (add, delete, edit) \r\n    2. manage general settings \r\n        1. manage post types/steps \r\n        2. manage categories \r\n        3. manage data sources \r\n        4. manage map/view settings \r\n\r\n    3. manage posts  \r\n        1. edit \r\n        2. publish to \r\n    6. Bulk data import (ie. CSV)\r\n\r\n5. As a logged in member, I should be able to access only the permissions assigned to my role  \r\n6. As an admin when I publish a post, I should be able to select any of the custom user roles (not just built in) \r\n7. As an admin, I should be able to name the custom user role as I create them"},"comment":{"url":"https://api.github.com/repos/ushahidi/platform/issues/comments/182739203","html_url":"https://github.com/ushahidi/platform/issues/526#issuecomment-182739203","issue_url":"https://api.github.com/repos/ushahidi/platform/issues/526","id":182739203,"user":{"login":"jasonmule","id":150815,"avatar_url":"https://avatars.githubusercontent.com/u/150815?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmule","html_url":"https://github.com/jasonmule","followers_url":"https://api.github.com/users/jasonmule/followers","following_url":"https://api.github.com/users/jasonmule/following{/other_user}","gists_url":"https://api.github.com/users/jasonmule/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmule/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmule/subscriptions","organizations_url":"https://api.github.com/users/jasonmule/orgs","repos_url":"https://api.github.com/users/jasonmule/repos","events_url":"https://api.github.com/users/jasonmule/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmule/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T06:52:25Z","updated_at":"2016-02-11T06:52:25Z","body":"@rjmackay Sorry for not updating this. We are sticking with a single role per user at the moment."}}