Hi,

I saw https://wiki.openmrs.org/display/docs/Module+Privileges+and+Roles?
focusedCommentId=27689701&#comment-27689701

I am tryin got add them from Activator,startup() with:
    
    Context.getUserService().saveRole(new Role("name","description")).

But it fails because I need an authenticated user.

Thanks in advance.

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to