afform_{html,gui} - Allow editing the `permission` via web UI
authorTim Otten <totten@civicrm.org>
Thu, 19 Dec 2019 04:23:41 +0000 (20:23 -0800)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:20 +0000 (19:13 -0700)
ext/afform/gui/ang/afGuiEditor/config-form.html
ext/afform/html/ang/afHtmlEditor.aff.html

index ad83f171eda57175f24569824a89d25ef3f87a37..60c43dab4b638de84465283412eaa1dab9592a52 100644 (file)
@@ -10,3 +10,7 @@
   {{ ts('URL:') }}
 </label>
 <input ng-model="afform.server_route" class="form-control" id="af_config_form_server_route" />
+<label for="af_config_form_permission">
+  {{ ts('Permission:') }}
+</label>
+<input ng-model="afform.permission" class="form-control" id="af_config_form_permission" />
index a17b66d6baa1e44b5dd3b5497e3ec208a2eda08d..7d474d44e5a5d08a0adde4f0afa617f6f1cdd4fa 100644 (file)
@@ -20,7 +20,8 @@
       <legend>{{ts('Properties')}}</legend>
       <div><label>{{ts('Name')}}:</label> {{resultForm.name}}</div>
       <div><label>{{ts('Title')}}:</label> <input ng-model="resultForm.title" type="text" /></div>
-      <div><label>{{ts('Server Router')}}:</label> <input ng-model="resultForm.server_route" type="text" /></div>
+      <div><label>{{ts('Server Route')}}:</label> <input ng-model="resultForm.server_route" type="text" /></div>
+      <div><label>{{ts('Permission')}}:</label> <input ng-model="resultForm.permission" type="text" /></div>
       <div><label>{{ts('Description')}}:</label> <textarea ng-model="resultForm.description"></textarea></div>
     </fieldset>