Introduce more granular permission controls and update the user management UI (#1965)

Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
ACX
2025-12-22 11:24:54 -07:00
committed by GitHub
co-authored by acx10
parent b5ada2fff0
commit b8fb843b7a
62 changed files with 1365 additions and 510 deletions
@@ -39,7 +39,7 @@ export class BookdropFileService implements OnDestroy {
)
.subscribe(state => {
const user = state.user!;
if (user.permissions.admin || user.permissions.canManipulateLibrary) {
if (user.permissions.admin || user.permissions.canAccessBookdrop) {
this.authService.token$
.pipe(filter(t => !!t), take(1))
.subscribe(() => this.refresh());