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
When setting branch permissions restrict_merges am passing map[string]string{"admin": "administrator", "dev": "developer"} as the BranchRestrictionsOptions.Groups value . It throws an error 400 Bad Request and sets the permission group to Everybody
The text was updated successfully, but these errors were encountered:
Why are we passing a map and not a array of strings like Users . The buildBranchRestrictionsBody in BranchRestrictions.Create does not use the key value of the maps . Another Observation was branchRestrictionsBodyGroup uses the field Name When i used slug manually adding the restriction it seemed to work
When setting branch permissions
restrict_merges
am passingmap[string]string{"admin": "administrator", "dev": "developer"}
as theBranchRestrictionsOptions.Groups
value . It throws an error400 Bad Request
and sets the permission group toEverybody
The text was updated successfully, but these errors were encountered: