mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-30 01:36:09 +00:00
feat: reflect django permissions on UI
This commit is contained in:
@@ -60,6 +60,12 @@ export abstract class ManagementListComponent<T extends ObjectWithId>
|
||||
public sortField: string
|
||||
public sortReverse: boolean
|
||||
|
||||
// TODO - Getter used to automatically build a permission name from typeName
|
||||
// Will basically break if permission name is different than typeName
|
||||
public typeNameWithoutWhitespace(): string {
|
||||
return this.typeName.replace(/\s/g, '')
|
||||
}
|
||||
|
||||
private nameFilterDebounce: Subject<string>
|
||||
private subscription: Subscription
|
||||
private _nameFilter: string
|
||||
|
Reference in New Issue
Block a user