Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Repoinit JCR 1.1.8
-
None
-
None
Description
My current application uses a regular user, but with some changes to the framework we need to migrate to regular service users. The service user is being added as part of the deployment.
To automate this I decided to use the repoinit to remove the regular user and then deploy the service user. Which works fine, but only until the next time the repoinit is executed again. Because then the repoinit statement
delete user foo
purges the newly created serviceuser "foo". Which is totally unexpected, because there is a dedicated command "delete service user" which is supposed to remove users. So "delete user foo" must only delete a regular user "foo" but not a service user named "foo".