We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8463b3c commit c6b73a2Copy full SHA for c6b73a2
routers/api/v1/org/org.go
@@ -60,7 +60,7 @@ func ListUserOrgs(ctx *context.APIContext) {
60
if ctx.Written() {
61
return
62
}
63
- listUserOrgs(ctx, u, false)
+ listUserOrgs(ctx, u, ctx.User.IsAdmin)
64
65
66
// Create api for create organization
0 commit comments