Skip to content

OAK-12190 Add createUserWithAbsolutePath and createGroupWithAbsolutePath to UserManager API (#2910)#2911

Merged
anchela merged 1 commit into
trunkfrom
OAK-12190
May 21, 2026
Merged

OAK-12190 Add createUserWithAbsolutePath and createGroupWithAbsolutePath to UserManager API (#2910)#2911
anchela merged 1 commit into
trunkfrom
OAK-12190

Conversation

@anchela
Copy link
Copy Markdown
Contributor

@anchela anchela commented May 19, 2026

contribution by @nscendoni !

  • Added UserManager API to create users and groups with oak path

  • Added UserManagerDelegator implementation for createUser/GroupWithAbsolutePath

  • OAK-12190: Use JCR path in createUser/GroupWithAbsolutePath API, provide default implementations, and convert to Oak path in UserManagerImpl

  • OAK-12190: Extract getOakPath helper and remove duplication in createUser/GroupWithAbsolutePath

  • Fix on node name

  • OAK-12190: Create authorizable at exact absolute path; extract buildUser/buildGroup helpers; add unit tests

  • Fixes from Angela

  • updated Exception message

  • Fixes on analyse-pr report

  • OAK-12190: Add remapping tests for createUser/GroupWithAbsolutePath

Verify that absolute JCR paths supplied to the two new methods are properly converted from the session-local namespace mapping to the internal Oak path representation.

Ai-Assisted-By: claude


…ath to UserManager API (#2910)

* Added UserManager API to create users and groups with oak path

* Added UserManagerDelegator implementation for createUser/GroupWithAbsolutePath

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* OAK-12190: Use JCR path in createUser/GroupWithAbsolutePath API, provide default implementations, and convert to Oak path in UserManagerImpl

* OAK-12190: Extract getOakPath helper and remove duplication in createUser/GroupWithAbsolutePath

* Fix on node name

* OAK-12190: Create authorizable at exact absolute path; extract buildUser/buildGroup helpers; add unit tests

* Fixes from Angela

* updated Exception message

* Fixes on analyse-pr report

* OAK-12190: Add remapping tests for createUser/GroupWithAbsolutePath

Verify that absolute JCR paths supplied to the two new methods are
properly converted from the session-local namespace mapping to the
internal Oak path representation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Ai-Assisted-By: claude

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: angela <anchela@adobe.com>
@anchela
Copy link
Copy Markdown
Contributor Author

anchela commented May 19, 2026

@reschke , is there anything else i need to do to trigger the sonar analysis?

@sonarqubecloud
Copy link
Copy Markdown

@anchela anchela merged commit 3ca25b9 into trunk May 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants