Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

UserAccessor.addMembership only executable for admin users

Stefan Baader
Contributor
July 12, 2018

I want to create a user macro which delivers the ability to add users to an existing group.

I tried the macro and it worked fine. But for a standard user the macro does not work.

I found out that this line of code is the reason:

$userAccessor.addMembership($group, $memberuser )

This method can't be executed when logged in as a non-admin-user. Any idea how this can be solved?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events