Skip to content

MLE-28498 Undoing addition of xdmp-login to test app#1953

Open
rjrudin wants to merge 1 commit into
developfrom
feature/xdmp-login
Open

MLE-28498 Undoing addition of xdmp-login to test app#1953
rjrudin wants to merge 1 commit into
developfrom
feature/xdmp-login

Conversation

@rjrudin

@rjrudin rjrudin commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Depends on the server no longer requiring the xdmp-login privilege for using REST extensions or transforms.

Depends on the server no longer requiring the xdmp-login privilege for using REST extensions or transforms.
Copilot AI review requested due to automatic review settings June 29, 2026 15:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the previously-added xdmp-login privilege and related test-app security artifacts now that the MarkLogic server no longer requires xdmp-login for using REST extensions/transforms.

Changes:

  • Removed the java-test-xdmp-login role and eliminated its assignment from test-app users.
  • Removed xdmp-login from the test-rest-writer role privileges.
  • Updated functional tests to stop creating roles with the xdmp-login privilege; removed an unused REST transform execution user config.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
test-app/src/main/ml-config/security/users/writer-no-default-permissions.json Removes java-test-xdmp-login from the user’s role list.
test-app/src/main/ml-config/security/users/rest-writer.json Removes java-test-xdmp-login from the user’s role list.
test-app/src/main/ml-config/security/users/rest-transform-user.json Removes obsolete REST transform execution user config.
test-app/src/main/ml-config/security/users/rest-evaluator.json Removes java-test-xdmp-login from the user’s role list.
test-app/src/main/ml-config/security/users/rest-admin.json Removes java-test-xdmp-login from the user’s role list.
test-app/src/main/ml-config/security/roles/test-rest-writer.json Removes the explicit xdmp-login privilege from the role.
test-app/src/main/ml-config/security/roles/java-test-xdmp-login.json Removes the now-unneeded role definition.
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestBiTemporal.java Stops creating a test role that includes xdmp-login.
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/fastfunctest/TestJSResourceExtensions.java Stops creating a test role that includes xdmp-login.
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/fastfunctest/TestBulkWriteWithTransformations.java Stops creating a test role that includes xdmp-login.
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/datamovement/functionaltests/StringQueryHostBatcherTest.java Stops creating a test role that includes xdmp-login.

Comment on lines 1 to +5
{
"user-name": "rest-admin",
"description": "rest-admin user",
"role": ["rest-admin", "java-test-delete-temporal", "java-test-xdmp-login"],
"password": "x"
"user-name": "rest-admin",
"description": "rest-admin user",
"role": [
"rest-admin",
Comment on lines 1 to +5
{
"user-name": "rest-writer",
"description": "rest-writer user",
"role": ["rest-writer", "java-test-delete-graph", "java-test-xdmp-login"],
"password": "x"
"user-name": "rest-writer",
"description": "rest-writer user",
"role": [
"rest-writer",
Comment on lines 1 to +5
{
"user-name": "rest-evaluator",
"description": "Test user for the java-client-api-project",
"role": ["java-test-evaluator", "java-test-xdmp-login"],
"password": "x"
"user-name": "rest-evaluator",
"description": "Test user for the java-client-api-project",
"role": [
"java-test-evaluator"
Comment on lines 1 to +5
{
"user-name": "writer-no-default-permissions",
"description": "test user that does not have the rest-writer role so as to avoid having default permissions",
"role": [
"test-rest-writer",
"java-test-delete-graph",
"rest-extension-user",
"rest-reader",
"java-test-xdmp-login"
],
"password": "x"
"user-name": "writer-no-default-permissions",
"description": "test user that does not have the rest-writer role so as to avoid having default permissions",
"role": [
"test-rest-writer",
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