Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Sebastian Brudziński
Sebastian BrudzińskiReporter
Josh Zamor
Josh Zamor(Deactivated)Labels
Story Points
3
Original estimate
1d 4h
Time tracking
1d 4h logged
Components
Sprint
Add sprint
Fix versions
Priority
Time Assistant
Created December 29, 2016 at 5:10 AM
Updated January 18, 2017 at 12:52 PM
Resolved January 18, 2017 at 12:52 PM
There should be an Administrative type Right that a User may be assigned via a Role that allows them to Manage (View, Create, Edit) the Roles.
Acceptance:
there is a new Administrative type of right named USER_ROLES_MANAGE in Reference Data
the endpoint POST /api/roles and PUT /api/roles/{id} may use the above right in creating Administrative roles
the PUT, POST & DELETE endpoints (for collection and single resource) check if the User has the given right, returns a 403 if the User doesn't have the right
the GET endpoint requires the user has this right, or that the token is a service level token. Returns 403 otherwise.
RAML is updated
Check to ensure clients of updated endpoints don't break - raise an issue to the larger group if it does.