Skip to content

Commit 4c4b19d

Browse files
committed
remove commented out code
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
1 parent 90ebdf1 commit 4c4b19d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/controlplane/pkg/authz/authz.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,11 @@ var ServerOperationsMap = map[string][]*Policy{
393393
"/controlplane.v1.UserService/DeleteMembership": {},
394394
"/controlplane.v1.AuthService/DeleteAccount": {},
395395

396-
// org memberships onnly available to admins
397-
// "/controlplane.v1.OrganizationService/ListMemberships"
398-
399396
// Groups (everyone see groups)
400397
"/controlplane.v1.GroupService/List": {},
401398
"/controlplane.v1.GroupService/Get": {},
402399

403-
// For the following endpoints, we rely on the service layer to check the permissions
400+
// For the following endpoints, we rely on the service layer to check the permissions.
404401
// That's why we let everyone access them (empty policies).
405402
// Group Memberships are only available to org admins or maintainers
406403
"/controlplane.v1.GroupService/ListMembers": {},

0 commit comments

Comments
 (0)