Not sure if this is a bug or a feature, but trying to add a user to a group twice using the API calls throws an exception
Is it possible to add a “ON DUPLICATE UPDATE” and just update the ‘updated_at’ column?
What is the actual exception?
Won’t this add table bloat for no benefit?
Can’t you, check group membership before trying to add the user?
either ignore the re addition, or update the updated_at time
hmmm… we are already doing this:
And also offer this:
So I am confused at why you would need this for normal use (which is SSO needing this kind of fancy behavior)
This is definitely a “feature req” for
@tgxworld how do you feel about this, should it be handled transparently or return an error?
oh, but this is SSO, i’m talking about adding a user to group by using the API
so, if you try to call the API to add a certain user to the same group twice, you would get this error