You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicate (user, role) pairs in resource policy PUT body cause 500 #1185
Seems like either it should dedupe or 400. Off the top of my head I can't think of big downsides to deduping. I guess it would be nice to know on the client if your logic is producing such duplicates. On the other hand it's more user friendly to simply not error when you don't have to, and logically duplicates can be collapsed down without any loss of meaning, so it seems fine.
Could drop a dedup_by here with the same function as the sort.
The spec for PUT says you're supposed to get back roughly what you put in.
A successful PUT of a given representation would suggest that a subsequent GET on that same target resource will result in an equivalent representation being sent in a 200 (OK) response.
Activity