-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent unauthorized users managing others' device
This adds a permissions check on the device list and delete views. When a user has the 'change_user' permission, they are allowed to view and delete other users' 2FA devices. If they don't have the permission, they are only allowed to manage their own devices.
- Loading branch information
1 parent
ad8d77a
commit ac23550
Showing
2 changed files
with
94 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters