mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
disable document form components when no object permissions
This commit is contained in:
parent
d15c701510
commit
8b204cac99
18 changed files with 116 additions and 21 deletions
|
|
@ -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
|
||||
)
|
||||
})
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue