LP#1817645: add RemoteAuth profiles to Angular server admin
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 12 Jun 2019 17:46:30 +0000 (10:46 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 20:26:17 +0000 (16:26 -0400)
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/eg2/src/app/staff/admin/server/admin-server-splash.component.html

index f358b65..20905ca 100644 (file)
@@ -12942,16 +12942,16 @@ SELECT  usr,
 
        <class id="cra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::remoteauth_profile" oils_persist:tablename="config.remoteauth_profile" reporter:label="Remote Patron Authentication Configuration Profile">
                <fields oils_persist:primary="name">
 
        <class id="cra" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::remoteauth_profile" oils_persist:tablename="config.remoteauth_profile" reporter:label="Remote Patron Authentication Configuration Profile">
                <fields oils_persist:primary="name">
-                       <field name="name" reporter:datatype="text"/>
-                       <field name="description" reporter:datatype="text"/>
-                       <field name="context_org" reporter:datatype="org_unit"/>
-                       <field name="enabled" reporter:datatype="bool"/>
-                       <field name="perm" reporter:datatype="link"/>
-                       <field name="restrict_to_org" reporter:datatype="bool"/>
-                       <field name="allow_inactive" reporter:datatype="bool"/>
-                       <field name="allow_expired" reporter:datatype="bool"/>
-                       <field name="block_list" reporter:datatype="text"/>
-                       <field name="usr_activity_type" reporter:datatype="link"/>
+                       <field name="name"              reporter:datatype="text"     reporter:label="Name" oils_obj:required="true"/>
+                       <field name="description"       reporter:datatype="text"     reporter:label="Description"/>
+                       <field name="context_org"       reporter:datatype="org_unit" reporter:label="Context Org" oils_obj:required="true"/>
+                       <field name="enabled"           reporter:datatype="bool"     reporter:label="Enabled"/>
+                       <field name="perm"              reporter:datatype="link"     reporter:label="Permission Required by User" oils_obj:required="true"/>
+                       <field name="restrict_to_org"   reporter:datatype="bool"     reporter:label="Restrict by Home Library"/>
+                       <field name="allow_inactive"    reporter:datatype="bool"     reporter:label="Allow Inactive Users"/>
+                       <field name="allow_expired"     reporter:datatype="bool"     reporter:label="Allow Expired Users"/>
+                       <field name="block_list"        reporter:datatype="text"     reporter:label="Block List"/>
+                       <field name="usr_activity_type" reporter:datatype="link"     reporter:label="User Activity Type"/>
                </fields>
                <links>
                        <link field="context_org" reltype="has_a" key="id" map="" class="aou"/>
                </fields>
                <links>
                        <link field="context_org" reltype="has_a" key="id" map="" class="aou"/>
index ab8ed5b..a1b6db1 100644 (file)
@@ -88,6 +88,8 @@
       routerLink="/staff/admin/server/config/print_template"></eg-link-table-link>
     <eg-link-table-link i18n-label label="Remote Accounts"  
       routerLink="/staff/admin/server/config/remote_account"></eg-link-table-link>
       routerLink="/staff/admin/server/config/print_template"></eg-link-table-link>
     <eg-link-table-link i18n-label label="Remote Accounts"  
       routerLink="/staff/admin/server/config/remote_account"></eg-link-table-link>
+    <eg-link-table-link i18n-label label="Remote Authentication Profiles"  
+      routerLink="/staff/admin/server/config/remoteauth_profile"></eg-link-table-link>
     <eg-link-table-link i18n-label label="SMS Carriers"  
       routerLink="/staff/admin/server/config/sms_carrier"></eg-link-table-link>
     <eg-link-table-link i18n-label label="User Activity Types"  
     <eg-link-table-link i18n-label label="SMS Carriers"  
       routerLink="/staff/admin/server/config/sms_carrier"></eg-link-table-link>
     <eg-link-table-link i18n-label label="User Activity Types"