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 3be7ccb..f8c9fec 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"
  <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"
   <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">
  <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=""
  </action>
  <action title="Share" action_id="localroles" category="object"
     condition_expr="" icon_expr="" link_target=""
index 4127495..f8c9fec 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"
  <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"
   <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">
  <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=""
  </action>
  <action title="Share" action_id="localroles" category="object"
     condition_expr="" icon_expr="" link_target=""