Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-5382

Make it possible to compute the isEntryReadonly boolean flag dynamically

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.1
    • Fix Version/s: 5.3.2
    • Component/s: None
    • Impact type:
      Configuration format change

      Description

      Use case: on a LDAP server we would like to have some entries that are editable using the regular nuxeo interface, while others are not based of the values of field of the fetched entry.

      This can be implemented as a new extension point to the LDAP and SQL directory that allows to plug a class that implements a generic adapter interface that builds a document model instance out of the DocumentModel entry and the Directory instance.

      A generic implementation that updates the readonly entry boolean flag based on regexp matching on string valued fields be provided and should cover the basic use case while allowing advanced custom cases by overriding the implementation.

        Attachments

          Activity

            People

            • Assignee:
              ogrisel Olivier Grisel
              Reporter:
              ogrisel Olivier Grisel
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: