Permalink
Browse files

Add ModelExport, Debug and ExtensionConfiguration actions

- add a constant for ModelExport action to ac class
  • Loading branch information...
1 parent ae6c285 commit 658e5a2ce30ab70dda3ee76ae557732af48ff4b1 @pfrischmuth pfrischmuth committed Nov 20, 2012
Showing with 16 additions and 0 deletions.
  1. +2 −0 library/Erfurt/Ac/Default.php
  2. +12 −0 library/Erfurt/include/SysOnt.rdf
  3. +2 −0 library/Erfurt/include/SysOntLocal.rdf
@@ -20,6 +20,8 @@
*/
class Erfurt_Ac_Default
{
+ const ACTION_MODEL_EXPORT = 'ModelExport';
+
// ------------------------------------------------------------------------
// --- Private properties -------------------------------------------------
// ------------------------------------------------------------------------
@@ -294,5 +294,17 @@
<rdfs:comment>Rollback changes on statements to a past version (needs Versioning)</rdfs:comment>
</Action>
+ <rdf:Description rdf:about="&SysOnt;ExtensionConfiguration" rdfs:label="Extension Configuration">
+ <rdfs:comment>Enable, disable as well as configure extensions</rdfs:comment>
+ </rdf:Description>
+
+ <rdf:Description rdf:about="&SysOnt;Debug" rdfs:label="Debug">
+ <rdfs:comment>Allow access to debug information via the user interface</rdfs:comment>
+ </rdf:Description>
+
+ <rdf:Description rdf:about="&SysOnt;ModelExport" rdfs:label="Model Export">
+ <rdfs:comment>Allow to export complete knowledge bases</rdfs:comment>
+ </rdf:Description>
+
</rdf:RDF>
@@ -50,6 +50,7 @@
<sysont:grantAccess rdf:resource="&SysOnt;RegisterNewUser"/>
<sysont:grantAccess rdf:resource="&SysOnt;Login"/>
<sysont:grantAccess rdf:resource="&SysOnt;Rollback"/>
+ <sysont:grantAccess rdf:resource="&SysOnt;ModelExport"/>
<sysont:denyModelView rdf:resource="&LocalConfig;"/>
<sysont:denyModelView rdf:resource="&SysOnt;"/>
<sysont:denyModelEdit rdf:resource="&SysBase;"/>
@@ -60,6 +61,7 @@
<rdf:Description rdf:about="&SysOnt;Anonymous">
<sysont:grantAccess rdf:resource="&SysOnt;RegisterNewUser"/>
+ <sysont:grantAccess rdf:resource="&SysOnt;ModelExport"/>
<sysont:denyAccess rdf:resource="&SysOnt;Login"/>
<sysont:denyAccess rdf:resource="&SysOnt;Rollback"/>
<sysont:denyModelView rdf:resource="&LocalConfig;"/>

0 comments on commit 658e5a2

Please sign in to comment.