Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows space supporter to access GET v3/service_route_bindings #2426

Merged
merged 2 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/v3/service_route_bindings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def fetch_route_bindings(message)
end

def space_guids
permission_queryer.readable_space_guids
permission_queryer.readable_supporter_space_guids
end

def parse_create_request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ Global Auditor |
Org Manager |
Space Auditor |
Space Developer |
Space Manager |
Space Manager |
Space Supporter | Experimental
1 change: 1 addition & 0 deletions spec/request/service_route_bindings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
h['admin_read_only'] = bindings_response_body
h['global_auditor'] = bindings_response_body
h['space_developer'] = bindings_response_body
h['space_supporter'] = bindings_response_body
h['space_manager'] = bindings_response_body
h['space_auditor'] = bindings_response_body
h['org_manager'] = bindings_response_body
Expand Down