Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

changing the action associated with a privilege will cause bootstrap to terminate rather than replacing the privilege #711

Closed
dmcassel opened this issue Dec 5, 2016 · 1 comment

Comments

@dmcassel
Copy link
Collaborator

dmcassel commented Dec 5, 2016

Seen by @kford-oconnors. Copied problem description from #261, which was closed.

If you run bootstrap more than once with a URI privilege definition then it will complain on the second and subsequent attempts that the URI privilege already exists.(

ERROR: [{"qid":null, "type":"string", "result":"Configured privilege conflicts with existing one: name=cedent-269-role-uri; action=/data/hrlh/cedent-269; kind=uri (PRIV-MISMATCH):\nSee MarkLogic Server error log for more details."}]

Is there something different about setting up a URI privilege? Ideally I would like to set up lots of roles and URI privileges over time. I definitely want to stick with the Roxy deployer and not have to script this bit separately… any insights for me on how/why Roxy does this?

<privilege>
  <privilege-name>@ml.cedent1-role-uri</privilege-name>
  <action>/data/hrlh/@ml.cedent1-user</action>
  <kind>uri</kind>
  <role-ids>
    <role-id>@ml.cedent1-role</role-id>
    <role-id>@ml.hr-role</role-id>
  </role-ids>
</privilege>
dmcassel added a commit that referenced this issue Jan 23, 2017
@dmcassel dmcassel added this to the 1.7.5 milestone Jan 23, 2017
@dmcassel
Copy link
Collaborator Author

fixed in dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant