-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.2
-
Component/s: None
-
Environment:trunk up-to-date for studio code, 5.3.1 for Nuxeo DM
The button new document is never displayed in folderish type created via Studio.
This used not to be the case.
I would suggest that the problem comes from the fact that the create action is filtered by the following filter :
<filter id="create">
<rule grant="true">
<permission>AddChildren</permission>
<facet>Folderish</facet>
<type>Workspace</type>
<type>TemplateRoot</type>
<type>Section</type>
<type>Folder</type>
</rule>
</filter>
Which hardcods the types. It would be better if it was filtered on "folderish" facet, and denying it for Domain, WorkspacesRoot, ....
As this needs to work on 5.3.1? we would need to add a new filter on the action "newDocument" for each contributed fodlerish type