Merge pull request #2818 from paperless-ngx/fix-2809

Fix: permissions display should not show users with inherited permissions & unable to change owner
This commit is contained in:
shamoon 2023-03-30 19:49:12 -07:00 committed by GitHub
commit 62e756a11e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 77 additions and 26 deletions

View file

@ -28,11 +28,6 @@ export class PermissionsUserComponent extends AbstractInputComponent<
userService
.listAll()
.pipe(first())
.subscribe(
(result) =>
(this.users = result.results.filter(
(u) => u.id !== settings.currentUser.id
))
)
.subscribe((result) => (this.users = result.results))
}
}