mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Merge remote-tracking branch 'origin/dev' into beta
This commit is contained in:
		@@ -825,10 +825,6 @@ export class DocumentDetailComponent
 | 
				
			|||||||
        error: (error) => {
 | 
					        error: (error) => {
 | 
				
			||||||
          this.networkActive = false
 | 
					          this.networkActive = false
 | 
				
			||||||
          const canEdit =
 | 
					          const canEdit =
 | 
				
			||||||
            this.permissionsService.currentUserCan(
 | 
					 | 
				
			||||||
              PermissionAction.Change,
 | 
					 | 
				
			||||||
              PermissionType.Document
 | 
					 | 
				
			||||||
            ) &&
 | 
					 | 
				
			||||||
            this.permissionsService.currentUserHasObjectPermissions(
 | 
					            this.permissionsService.currentUserHasObjectPermissions(
 | 
				
			||||||
              PermissionAction.Change,
 | 
					              PermissionAction.Change,
 | 
				
			||||||
              this.document
 | 
					              this.document
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user