Skip to content

Commit

Permalink
Merge branch 'authn-rewrite' of github.com:redpanda-data/console into…
Browse files Browse the repository at this point in the history
… authn-rewrite
  • Loading branch information
jvorcak committed Feb 26, 2025
2 parents e4190e4 + 1bd4e23 commit 7f08690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proto/redpanda/api/console/v1alpha1/security.proto
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ service SecurityService {
// ListRoles lists all the roles based on optional filter.
rpc ListRoles(ListRolesRequest) returns (ListRolesResponse) {
option (redpanda.api.auth.v1.authorization) = {
required_permission: PERMISSION_VIEW
required_permission: PERMISSION_ADMIN
api: API_REDPANDA_ADMIN
};
}
Expand All @@ -213,7 +213,7 @@ service SecurityService {
// GetRole retrieves the specific role.
rpc GetRole(GetRoleRequest) returns (GetRoleResponse) {
option (redpanda.api.auth.v1.authorization) = {
required_permission: PERMISSION_VIEW
required_permission: PERMISSION_ADMIN
api: API_REDPANDA_ADMIN
};
}
Expand All @@ -229,7 +229,7 @@ service SecurityService {
// ListRoleMembership lists all the members assigned to a role based on optional filter.
rpc ListRoleMembers(ListRoleMembersRequest) returns (ListRoleMembersResponse) {
option (redpanda.api.auth.v1.authorization) = {
required_permission: PERMISSION_VIEW
required_permission: PERMISSION_ADMIN
api: API_REDPANDA_ADMIN
};
}
Expand Down

0 comments on commit 7f08690

Please sign in to comment.