Skip to content

Commit

Permalink
Fix GetProfileById auth perms (#1937)
Browse files Browse the repository at this point in the history
This is a rehash of #1936 but without the noise.
  • Loading branch information
JAORMX authored Dec 14, 2023
1 parent 851ff7c commit a03bc3e
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 83 deletions.
164 changes: 82 additions & 82 deletions pkg/api/protobuf/go/minder/v1/minder.pb.go

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

7 changes: 6 additions & 1 deletion proto/minder/v1/minder.proto
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,12 @@ service ProfileService {
rpc GetProfileById (GetProfileByIdRequest) returns (GetProfileByIdResponse) {
option (google.api.http) = {
get: "/api/v1/profile/{id}"
};
};

option (rpc_options) = {
auth_scope: OBJECT_OWNER_PROJECT
owner_only: false
};
}

rpc GetProfileStatusByName (GetProfileStatusByNameRequest) returns (GetProfileStatusByNameResponse) {
Expand Down

0 comments on commit a03bc3e

Please sign in to comment.