GUI - set default permission for new forms
authorColeman Watts <coleman@civicrm.org>
Sat, 21 Dec 2019 00:51:51 +0000 (19:51 -0500)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:20 +0000 (19:13 -0700)
ext/afform/gui/ang/afGuiEditor.js

index ae7b3eec0b104f688880322f25d0098d349a45ae..27a898848b96f68747662f647e6af41421194ab7 100644 (file)
@@ -35,6 +35,7 @@
         var editor = $scope.editor = this;
         var newForm = {
           title: ts('Untitled Form'),
+          permission: 'access CiviCRM',
           layout: [{
             '#tag': 'af-form',
             ctrl: 'afform',