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

Allow same directory entry id in different tenants

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2-SNAPSHOT
    • Fix Version/s: 10.2
    • Release Notes Description:
      Hide

      Same Directory Entry ID on Different Tenants

      – Unicity check on directory entry has been moved post tenant-specific computation, so that same end user id can be used in two different tenants.

      Show
      Same Directory Entry ID on Different Tenants – Unicity check on directory entry has been moved post tenant-specific computation, so that same end user id can be used in two different tenants.

      Description

      When a directory is set up to be used in a multitenant isolation, it is not possible to add a new entry if the id is the same as an id not associated to any tenant. The reason is that the computation of the id with the tenant id is done after checking if the id exists.
      Also, it could lead to an issue because the check if the id exists is done before the computation so it is possible that the computed id is the same as an existing id in the directory.

        Attachments

          Issue Links

            Activity

            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/nuxeo-master #1732
            NXP-25264: Check if the id exists after computing the multitenant id (glefevre: 0e47b6ba663684bff85dcf65f73c53dc71de2764)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/nuxeo-master #1732 NXP-25264 : Check if the id exists after computing the multitenant id (glefevre: 0e47b6ba663684bff85dcf65f73c53dc71de2764 )
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/addons_nuxeo-multi-tenant-master #889
            NXP-25264: Add tests on the directories with multitenancy (glefevre: 82b05dd88291a69b4d10b0f01a768267b6886523)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/addons_nuxeo-multi-tenant-master #889 NXP-25264 : Add tests on the directories with multitenancy (glefevre: 82b05dd88291a69b4d10b0f01a768267b6886523 )
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in master/nuxeo-master #2351
            NXP-25264: Add tests on the directories with multitenancy (glefevre: 82b05dd88291a69b4d10b0f01a768267b6886523)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in master/nuxeo-master #2351 NXP-25264 : Add tests on the directories with multitenancy (glefevre: 82b05dd88291a69b4d10b0f01a768267b6886523 )
            Hide
            hudson Jenkins added a comment -

            SUCCESS: Integrated in 10.10/nuxeo-10.10 #92
            NXP-25264: Add tests on the directories with multitenancy (glefevre: 82b05dd88291a69b4d10b0f01a768267b6886523)

            Show
            hudson Jenkins added a comment - SUCCESS: Integrated in 10.10/nuxeo-10.10 #92 NXP-25264 : Add tests on the directories with multitenancy (glefevre: 82b05dd88291a69b4d10b0f01a768267b6886523 )

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h