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

Add new getTenantId API on NuxeoPrincipal for multitenancy

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Multitenancy support
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      New APIs on NuxeoPrincipal:

      • isManager()
      • getTenantId()
      Show
      New APIs on NuxeoPrincipal: isManager() getTenantId()

      Description

      Add new APIs on NuxeoPrincipal:

      • isManager()
      • getTenantId()

      Introduce isManager API to separate the functional administrator from the technical administrator (isAdministrator).
      Default is that isManager == isAdministrator
      isMAnager will be overriden in the multitenant module and will return true if the user is a tenant manager.

      The getTenantId API is used when the multitenant module is deployed to retrieve the tenantId of the logged user.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                troger Thomas Roger
                Reporter:
                troger Thomas Roger
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: