Skip to content

Commit 2b3794e

Browse files
authoredOct 12, 2021
rm noop code
1 parent 4a583f9 commit 2b3794e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎routers/api/v1/org/org.go

-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ func GetUserOrgsPermissions(ctx *context.APIContext) {
146146
return
147147
}
148148

149-
op.IsOwner = false
150-
op.IsAdmin = false
151-
op.CanWrite = false
152149
if authorizeLevel > models.AccessModeNone {
153150
op.CanRead = true
154151
}

0 commit comments

Comments
 (0)