-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Right now, all a user needs in order to update a queue is permissions.CreateQueue:
This seems wrong. If I can update a queue, I can change who owns it and who has what permissions, or its resource limits so it can't do useful work. All that seems well beyond the scope of a permission called CreateQueue, which I'd say should allow you only to create queues, not to mess with existing queues.
I propose:
- adding a queue-specific
queue.PermissionVerbcalledqueue.PermissionVerbUpdate - renaming global permission
permissions.DeleteQueuetopermissions.ModifyQueue - changing
submit.UpdateQueue()to require bothqueue.PermissionVerbUpdateandpermissions.ModifyQueue(but notpermissions.CreateQueue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels