LP1904036 user perm editor
authorBill Erickson <berickxx@gmail.com>
Tue, 6 Apr 2021 18:08:45 +0000 (14:08 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:30 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/patron.component.html
Open-ILS/src/eg2/src/app/staff/circ/patron/patron.module.ts

index 510fb3f..388c36a 100644 (file)
               ngbDropdownItem i18n>Surveys</a>
             <a routerLink="/staff/circ/patron/{{patronId}}/group"
               ngbDropdownItem i18n>Group Member Details</a>
-            <a routerLink="/staff/circ/patron/{{patronId}}/edit_perms"[disabled]="true"
+            <a routerLink="/staff/circ/patron/{{patronId}}/perms"
               ngbDropdownItem i18n>User Permission Editor</a>
             <a routerLink="/staff/circ/patron/{{patronId}}/credentials"
               ngbDropdownItem i18n>Test Password</a>
                 <eg-patron-group [patronId]="patronId">
                 </eg-patron-group>
               </div>
+              <div *ngSwitchCase="'perms'">
+                <eg-patron-perms [patronId]="patronId">
+                </eg-patron-perms>
+              </div>
             </ng-container>
           </ng-template>
         </li>
index 479f69b..4997a54 100644 (file)
@@ -30,6 +30,7 @@ import {SecondaryGroupsDialogComponent} from './secondary-groups.component';
 import {PatronBarcodesDialogComponent} from './barcodes.component';
 import {HoldNotifyUpdateDialogComponent} from './hold-notify-update.component';
 import {PatronMessagesComponent} from './messages.component';
+import {PatronPermsComponent} from './perms.component';
 
 @NgModule({
   declarations: [
@@ -49,6 +50,7 @@ import {PatronMessagesComponent} from './messages.component';
     PatronGroupComponent,
     RegisterPatronComponent,
     PatronStatCatsComponent,
+    PatronPermsComponent,
     PatronBarcodesDialogComponent,
     SecondaryGroupsDialogComponent,
     HoldNotifyUpdateDialogComponent