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

Better error message for missing role #131

Closed
dmcassel opened this issue Sep 9, 2013 · 1 comment
Closed

Better error message for missing role #131

dmcassel opened this issue Sep 9, 2013 · 1 comment

Comments

@dmcassel
Copy link
Collaborator

dmcassel commented Sep 9, 2013

When I am hacking on the role configuration, sometimes I mistype a role name and a role therefore does not exist for userB, .. In this circumstance Roxy will create the mistyped role, and error that the role does not exist for B.

A better error message for missing roles etc would be good.

@grtjn
Copy link
Contributor

grtjn commented Jun 13, 2017

Not sure what the feedback used to be, but I just ran a test, and I got:

$ ./ml ml9 bootstrap
Bootstrapping your project into MarkLogic 9 on ml9-ml1...
ERROR: SEC-ROLEDNE: (err:FOER0000) Role does not exist: sec:role-name = roxy-rolex
See MarkLogic Server error log for more details.
ERROR: ... Bootstrap FAILED

Seems okay to me.

@grtjn grtjn closed this as completed Jun 13, 2017
@grtjn grtjn self-assigned this Jun 13, 2017
@grtjn grtjn added this to the July 2017 milestone Jun 13, 2017
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

2 participants