mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 00:41:11 -06: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