Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-107

make possible to create new documents in Folderish document type generated from Studio

    XMLWordPrintable

    Details

    • 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

      Description

      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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: