-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello,
when you create a workspace-able object and set a default page for it, the link "Roster" is gone. I therefor suggest to adapt actions.xml, responsible for creating that link.
<?xml version="1.0"?>
<object name="portal_actions" meta_type="Plone Actions Tool"
xmlns:i18n="http://xml.zope.org/namespaces/i18n">
<object name="object" meta_type="CMF Action Category">
<object name="team-roster" meta_type="CMF Action" i18n:domain="plone">
<property name="title" i18n:translate="">Roster</property>
<property name="description" i18n:translate=""></property>
<property
name="url_expr">string:${globals_view/getCurrentFolderUrl}/team-roster</property>
<property name="icon_expr"></property>
<property name="available_expr">python:globals_view.getCurrentFolder().restrictedTraverse('@@plone_interface_info').provides('collective.workspace.interfaces.IHasWorkspace')</property>
<property name="permissions">
<element value="collective.workspace: View roster"/>
</property>
<property name="visible">True</property>
</object>
</object>
</object>
This ensures consistent behaviour: "Roster" shows up every time, when being at a workspace.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels