Give superuser full doc permissions

This commit is contained in:
shamoon
2023-03-03 19:50:06 -08:00
parent 2fe7f8be46
commit 320537a054
6 changed files with 25 additions and 13 deletions

View File

@@ -75,10 +75,7 @@ export class SettingsService {
// to update lang cookie
if (this.settings['language']?.length)
this.setLanguage(this.settings['language'])
this.currentUser = {
id: uisettings['user_id'],
username: uisettings['username'],
}
this.currentUser = uisettings.user
this.permissionsService.initialize(
uisettings.permissions,
this.currentUser