]> CRI, Mines Paris - PSL - Plinn.git/commitdiff
Masquage du diaporama html standard.
authorBenoît Pin <benoit.pin@gmail.com>
Sun, 6 Jul 2014 05:25:57 +0000 (07:25 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Sun, 6 Jul 2014 05:25:57 +0000 (07:25 +0200)
Masquage de l'onglet lister aux anonymes.

profiles/default/types/Portfolio.xml
profiles/photo/types/Portfolio.xml

index 3be7ccb3987e57c874273bf5de44a09b6159e2e0..f8c9fec249dbcaed983631c49c930aa0f2c19c95 100644 (file)
@@ -28,7 +28,7 @@
  <action title="Slide show" action_id="noajax" category="object"
     condition_expr="python:object.listNearestFolderContents(contentFilter={'portal_type' : 'Photo'})"
     icon_expr="" link_target="" url_expr="string:${object_url}/slide_show"
-    visible="True">
+    visible="False">
   <permission value="View"/>
  </action>
  <action title="Presentation" action_id="presentation" category="object"
  <action title="List" action_id="folderContents" category="object"
     condition_expr="" icon_expr="" link_target=""
     url_expr="string:${object_url}/folder_contents" visible="True">
-  <permission value="List folder contents"/>
- </action>
- <action title="Import" action_id="import" category="object" condition_expr=""
-    icon_expr="" link_target=""
-    url_expr="string:${object_url}/portfolio_edit_form" visible="True">
-  <permission value="Add portal content"/>
+  <permission value="Modify portal content"/>
  </action>
  <action title="Share" action_id="localroles" category="object"
     condition_expr="" icon_expr="" link_target=""
index 41274958b7c9e77f4c0157878f6a92cac70ff3aa..f8c9fec249dbcaed983631c49c930aa0f2c19c95 100644 (file)
@@ -28,7 +28,7 @@
  <action title="Slide show" action_id="noajax" category="object"
     condition_expr="python:object.listNearestFolderContents(contentFilter={'portal_type' : 'Photo'})"
     icon_expr="" link_target="" url_expr="string:${object_url}/slide_show"
-    visible="True">
+    visible="False">
   <permission value="View"/>
  </action>
  <action title="Presentation" action_id="presentation" category="object"
@@ -40,7 +40,7 @@
  <action title="List" action_id="folderContents" category="object"
     condition_expr="" icon_expr="" link_target=""
     url_expr="string:${object_url}/folder_contents" visible="True">
-  <permission value="List folder contents"/>
+  <permission value="Modify portal content"/>
  </action>
  <action title="Share" action_id="localroles" category="object"
     condition_expr="" icon_expr="" link_target=""