mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: enforce object permissions for app config (#5516)
This commit is contained in:
		| @@ -260,6 +260,10 @@ describe('PermissionsService', () => { | ||||
|         'view_customfield', | ||||
|         'change_customfield', | ||||
|         'delete_customfield', | ||||
|         'add_applicationconfiguration', | ||||
|         'change_applicationconfiguration', | ||||
|         'delete_applicationconfiguration', | ||||
|         'view_applicationconfiguration', | ||||
|       ], | ||||
|       { | ||||
|         username: 'testuser', | ||||
|   | ||||
| @@ -17,6 +17,7 @@ export enum PermissionType { | ||||
|   StoragePath = '%s_storagepath', | ||||
|   SavedView = '%s_savedview', | ||||
|   PaperlessTask = '%s_paperlesstask', | ||||
|   AppConfig = '%s_applicationconfiguration', | ||||
|   UISettings = '%s_uisettings', | ||||
|   Note = '%s_note', | ||||
|   MailAccount = '%s_mailaccount', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon