mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			fa496dfc8d
			...
			cebc227701
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | cebc227701 | ||
|   | 814df94e8d | 
| @@ -85,7 +85,10 @@ export const CUSTOM_FIELD_QUERY_OPERATOR_GROUPS_BY_TYPE = { | ||||
|     CustomFieldQueryOperatorGroups.Exact, | ||||
|     CustomFieldQueryOperatorGroups.Date, | ||||
|   ], | ||||
|   [CustomFieldDataType.Boolean]: [CustomFieldQueryOperatorGroups.Basic], | ||||
|   [CustomFieldDataType.Boolean]: [ | ||||
|     CustomFieldQueryOperatorGroups.Basic, | ||||
|     CustomFieldQueryOperatorGroups.Exact, | ||||
|   ], | ||||
|   [CustomFieldDataType.Integer]: [ | ||||
|     CustomFieldQueryOperatorGroups.Basic, | ||||
|     CustomFieldQueryOperatorGroups.Exact, | ||||
|   | ||||
| @@ -2490,7 +2490,7 @@ class BulkEditObjectsView(PassUserMixin): | ||||
|         objs = object_class.objects.select_related("owner").filter(pk__in=object_ids) | ||||
|  | ||||
|         if not user.is_superuser: | ||||
|             model_name = object_class._meta.verbose_name | ||||
|             model_name = object_class._meta.model_name | ||||
|             perm = ( | ||||
|                 f"documents.change_{model_name}" | ||||
|                 if operation == "set_permissions" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user