mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Chore: add pre-commit hook for codespell (#5324)
This commit is contained in:
@@ -23,7 +23,7 @@ export class GroupService extends AbstractNameFilterService<Group> {
|
||||
const { typeKey, actionKey } =
|
||||
this.permissionService.getPermissionKeys(perm)
|
||||
if (!typeKey || !actionKey) {
|
||||
// dont lose permissions the UI doesnt use
|
||||
// dont lose permissions the UI doesn't use
|
||||
o.permissions.push(perm)
|
||||
}
|
||||
})
|
||||
|
@@ -23,7 +23,7 @@ export class UserService extends AbstractNameFilterService<User> {
|
||||
const { typeKey, actionKey } =
|
||||
this.permissionService.getPermissionKeys(perm)
|
||||
if (!typeKey || !actionKey) {
|
||||
// dont lose permissions the UI doesnt use
|
||||
// dont lose permissions the UI doesn't use
|
||||
o.user_permissions.push(perm)
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user