lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chest...@apache.org
Subject svn commit: r320970 - in /lenya/trunk/src/webapp/lenya/pubs/default/config: ac/usecase-policies.xml menus/generic.xsp
Date Fri, 14 Oct 2005 01:57:31 GMT
Author: chestnut
Date: Thu Oct 13 18:57:28 2005
New Revision: 320970

URL: http://svn.apache.org/viewcvs?rev=320970&view=rev
Log:
assigned workflow events to the workflow menu items
assigned roles to open usecases

Modified:
    lenya/trunk/src/webapp/lenya/pubs/default/config/ac/usecase-policies.xml
    lenya/trunk/src/webapp/lenya/pubs/default/config/menus/generic.xsp

Modified: lenya/trunk/src/webapp/lenya/pubs/default/config/ac/usecase-policies.xml
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/config/ac/usecase-policies.xml?rev=320970&r1=320969&r2=320970&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/config/ac/usecase-policies.xml (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/config/ac/usecase-policies.xml Thu Oct 13 18:57:28
2005
@@ -30,10 +30,27 @@
     <usecase id="restore">
         <role id="edit"/>
     </usecase>
+    <usecase id="submit">
+        <role id="edit"/>
+    </usecase>
+    <usecase id="publish">
+        <role id="review"/>
+    </usecase>
+    <usecase id="reject">
+        <role id="review"/>
+    </usecase>
+    <usecase id="deactivate">
+        <role id="review"/>
+    </usecase>
 
 	<usecase id="userChangeProfile"><role id="edit"/><role id="admin"/></usecase>
 	<usecase id="userChangePasswordUser"><role id="edit"/></usecase>
 	<usecase id="userChangePasswordAdmin"><role id="admin"/></usecase>
 	<usecase id="userChangeGroups"><role id="admin"/></usecase>
+	
+	<usecase id="filePropfind"><role id="visit"/></usecase>
+	<usecase id="propfind"><role id="visit"/></usecase>
+	<usecase id="put"><role id="edit"/></usecase>
+	
 
 </usecases>

Modified: lenya/trunk/src/webapp/lenya/pubs/default/config/menus/generic.xsp
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/config/menus/generic.xsp?rev=320970&r1=320969&r2=320970&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/config/menus/generic.xsp (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/config/menus/generic.xsp Thu Oct 13 18:57:28
2005
@@ -101,8 +101,8 @@
         <block>
           <item uc:usecase="workflow.submit" wf:event="submit" href="?"><i18n:text>Submit</i18n:text></item>
           <item uc:usecase="workflow.reject" wf:event="reject" href="?"><i18n:text>Reject</i18n:text></item>
-          <item uc:usecase="workflow.publish" href="?"><i18n:text>Publish</i18n:text></item>
-          <item uc:usecase="workflow.deactivate" href="?"><i18n:text>Deactivate</i18n:text></item>
+          <item uc:usecase="workflow.publish" wf:event="publish" href="?"><i18n:text>Publish</i18n:text></item>
+          <item uc:usecase="workflow.deactivate" wf:event="deactivate" href="?"><i18n:text>Deactivate</i18n:text></item>
        </block>
       </menu>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message