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

Allow global disabling of schemas, like files

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF14, 11.1, 2021.0
    • Component/s: Core
    • Tags:
    • Upgrade notes:
      Hide

      To disable a schema, for instance files, use a contribution like:

        <require>org.nuxeo.ecm.core.CoreExtensions</require>
        <extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
          <schema name="files" enabled="false" />
        </extension>
      

      Of course the <require> line must reflect the actual component that declares the schema that one wants to disable.

      Show
      To disable a schema, for instance files , use a contribution like: <require> org.nuxeo.ecm.core.CoreExtensions </require> <extension target= "org.nuxeo.ecm.core.schema.TypeService" point= "schema" > <schema name= "files" enabled= "false" /> </extension> Of course the <require> line must reflect the actual component that declares the schema that one wants to disable.
    • Sprint:
      nxFG 11.1.10
    • Story Points:
      2

      Description

      Add a feature to disable an existing schema (make it so that it's ignored whenever a doctype references it, or when the list of all schemas is returned).

      Some use cases, like Retention & Hold, require that no attachments are created in the platform. With this feature, this becomes possible by simply disabling the files schema.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h