Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UIU-2563 users manipulating psets need permission to do so (#2099)
Prior to `permissions` `5.5`, having `perms.users.items.put`, `...post`, or `...delete` was a security vulnerability because it allowed any user with the ability to assign permissions to assign permissions they did not already have, e.g. for a user with `A` and `B` to grant `C` to somebody else. That _is_ a useful feature, but the two should not be coupled (assign own permissions; assign non-owned permissions). Here, that same logic is applied to creation of permission sets: users with the ability to create permission sets need the ability to create sets with permissions they may not own. Refs UIU-2563
- Loading branch information