We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking at
plone.api/src/plone/api/user.py
Lines 365 to 383 in a8361ed
api.user.grant_roles(user=user, obj=obj)
Line 382 in a8361ed
The text was updated successfully, but these errors were encountered:
This needs a confirmation, I just got this suspect looking at the code.
Sorry, something went wrong.
No branches or pull requests
Looking at
plone.api/src/plone/api/user.py
Lines 365 to 383 in a8361ed
It seems that calling
api.user.grant_roles(user=user, obj=obj)
will remove all the roles because we will invoke:plone.api/src/plone/api/user.py
Line 382 in a8361ed
passing None as a username.
The text was updated successfully, but these errors were encountered: