mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
Add ability to set owner per object
This commit is contained in:
@@ -9,12 +9,15 @@
|
||||
|
||||
<form [formGroup]="form">
|
||||
<div formGroupName="set_permissions">
|
||||
<app-input-select [items]="users" i18n-title title="Owner" bindLabel="username" formControlName="owner" [allowNull]="true"></app-input-select>
|
||||
<small class="form-text text-muted" i18n>Objects without an owner can be viewed and edited by all users</small>
|
||||
<h6 i18n>View</h6>
|
||||
<div formGroupName="view">
|
||||
<app-permissions-user type="view" formControlName="users"></app-permissions-user>
|
||||
<app-permissions-group type="view" formControlName="groups"></app-permissions-group>
|
||||
</div>
|
||||
<h6 i18n>Edit</h6>
|
||||
<small class="form-text text-muted" i18n>Edit permissions also grant viewing permissions</small>
|
||||
<div formGroupName="change">
|
||||
<app-permissions-user type="change" formControlName="users"></app-permissions-user>
|
||||
<app-permissions-group type="change" formControlName="groups"></app-permissions-group>
|
||||
|
Reference in New Issue
Block a user