[Question] Is it possible to do a filtered deleteRolesForUser
?
#273
Labels
question
Further information is requested
deleteRolesForUser
?
#273
What's your scenario? What do you want to achieve?
Clearing out some roles for a user and applying new ones.
Your policy:
What I want to do is clear out the
g, user_1, *
lines. Currently what I'm doing is something like the following...What I'm not clear on is how I can avoid iterating over each role and deleting it. Is there an equivalent batch call, like
deleteRolesForUser("user_1", roles)
? I only see support fordeleteRolesForUser("user_1")
which also clears out ones I don't want to include.Thank you!
The text was updated successfully, but these errors were encountered: