Permission system for Flamenco #51039
Labels
No Label
Good First Issue
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Job Type
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/flamenco#51039
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should have a better permission system than just the role
flamenco-admin
.Some ideas for access rules:
Users with just
subscriber
ordemo
role can only view Flamenco. This is limited to projects they are part of, and Managers they are owner of.Users with either
subscriber
ordemo
role ANDflamenco-admin
role have unlimited access to all of Flamenco.Users need either
subscriber
ordemo
role ANDflamenco-user
role to have any write access to Flamenco, even when they are members of a project that's set up for Flamenco.Ownership of a Manager is defined by a single group. All members of that group are considered equal.
Owners of a Manager can link that manager with projects they manage (i.e. have PUT access to).
Owners of a Manager can unlink that manager from any project.
Owners of a Manager can manage jobs/tasks/task logs belonging to projects they have PUT access to.
Members of a project that are not Owners of a Manager can manage jobs/tasks/task logs belonging to projects they have PUT access to.
Owners of a Manager can see, delete, and create authentication tokens for the Manager's service account. For now, let's just allow a single authentication token per Manager.
Changed status to: 'Open'
Added subscribers: @dr.sybren, @fsiddi
Added subscriber: @pablovazquez
Assigned to @venomgfx to click through and see if things are working / aren't broken.
Changed status from 'Open' to: 'Resolved'
Tested after closing all subtasks and it looks good. Used the description of this task as a draft for docs about the permissions system in
5a429d29e1
.Thanks @dr.sybren !