APIv4 - Treat navigation permissions as array, add pseudoconstant for operator
[civicrm-core.git] / xml / schema / Core / Navigation.xml
index 3b7d80f4d1bdff32b4103fab4bcd8ecb38d0100b..dd489e66e00cfe70c68f54bb28e9361af4a46532 100644 (file)
@@ -82,7 +82,8 @@
     <title>Required Permission</title>
     <type>varchar</type>
     <length>255</length>
-    <comment>Permission for menu item</comment>
+    <comment>Permission(s) needed to access menu item</comment>
+    <serialize>COMMA</serialize>
     <add>3.0</add>
   </field>
   <field>
     <title>Permission Operator</title>
     <type>varchar</type>
     <length>3</length>
-    <comment>Permission Operator</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::andOr</callback>
+    </pseudoconstant>
+    <comment>Operator to use if item has more than one permission</comment>
     <add>3.0</add>
   </field>
   <field>