Skip to content

Commit

Permalink
Add partial role support for manager only
Browse files Browse the repository at this point in the history
- Add the custom role which replaces the manager role
- Added mini-details endpoint used by v2024.11.1

These changes try to add the custom role in such a way that it stays compatible with the older manager role.
It will convert a manager role into a custom role, and if a manager has `access-all` rights, it will enable the correct custom roles.
Upon saving it will convert these back to the old format.

What this does is making sure you are able to revert back to an older version of Vaultwarden without issues.
This way we can support newer web-vault's and still be compatible with a previous Vaultwarden version if needed.

In the future this needs to be changed to full role support though.

Signed-off-by: BlackDex <[email protected]>
  • Loading branch information
BlackDex committed Nov 22, 2024
1 parent 96813b1 commit ae62f5b
Show file tree
Hide file tree
Showing 6 changed files with 243 additions and 131 deletions.
Loading

0 comments on commit ae62f5b

Please sign in to comment.