mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: dont require admin to view trash on frontend (#7028)
This commit is contained in:
parent
f73be01897
commit
a066ccff4f
@ -150,7 +150,10 @@ export const routes: Routes = [
|
||||
component: TrashComponent,
|
||||
canActivate: [PermissionsGuard],
|
||||
data: {
|
||||
requireAdmin: true,
|
||||
requiredPermission: {
|
||||
action: PermissionAction.Delete,
|
||||
type: PermissionType.Document,
|
||||
},
|
||||
},
|
||||
},
|
||||
// redirect old paths
|
||||
|
Loading…
x
Reference in New Issue
Block a user