roxy icon indicating copy to clipboard operation
roxy copied to clipboard

Permission Validation

Open prestonmcgowan opened this issue 10 years ago • 2 comments

MarkLogic changed the name of a permission between 5 and 6 which broke my roxy scripts.

Could roxy validate that the permissions exist before committing any deployment actions?

The permission change I ran into was when "xdmp:any-uri" changed to "any-uri".

prestonmcgowan avatar Sep 06 '13 12:09 prestonmcgowan

@prestonmcgowan What kind of validation did you have in mind for this? Bootstrap already checks if privs (to which roles refer) exist. Not sure what else we could do..

grtjn avatar Jun 13 '17 15:06 grtjn

The actual permission name being set on a role was changed, as noted in the original issue. I have only had ML Eng change this name the one time. I am good with this being closed given it only happened one time and likely would take more to code for this "one off" than it is worth. (IMHO)

prestonmcgowan avatar Jul 12 '17 01:07 prestonmcgowan