mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-12 00:19:48 +00:00
disable document form components when no object permissions
This commit is contained in:
@@ -79,7 +79,10 @@ export class SettingsService {
|
||||
id: uisettings['user_id'],
|
||||
username: uisettings['username'],
|
||||
}
|
||||
this.permissionsService.initialize(uisettings.permissions)
|
||||
this.permissionsService.initialize(
|
||||
uisettings.permissions,
|
||||
this.currentUser
|
||||
)
|
||||
})
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user