Fix: dont require admin to view trash on frontend (#7028)

This commit is contained in:
shamoon 2024-06-18 20:14:38 -07:00
parent f73be01897
commit a066ccff4f

View File

@ -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