LP#1942220: (follow-up) add perm limits to create PO ordering agency selector
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 13 Jan 2022 21:03:44 +0000 (16:03 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 13 Jan 2022 21:03:44 +0000 (16:03 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/acq/po/create.component.html

index d484d7b..1cf13c4 100644 (file)
@@ -8,7 +8,8 @@
   </div>
   <div class="form-group">
     <label for="order-agency-input" i18n>Ordering Agency</label>
-    <eg-org-select (onChange)="orgChange($event)" domId="order-agency-input">
+    <eg-org-select (onChange)="orgChange($event)" domId="order-agency-input"
+      [limitPerms]="['CREATE_PICKLIST','CREATE_PURCHASE_ORDER']">
     </eg-org-select>
   </div>
   <div class="form-group">