Skip to content

Commit 6bb35eb

Browse files
committed
Merge pull request #8898 from jaywcarman/fix_tenant_list_view
Fix Configuration>Access Control>Tenants list view
2 parents e37dec7 + 6e02960 commit 6bb35eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/ops_controller/ops_rbac.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module OpsController::OpsRbac
99
}.freeze
1010

1111
def role_allows?(**options)
12-
if MiqProductFeature.my_root_tenant_identifier?(options[:feature]) && params.key?(:id)
12+
if MiqProductFeature.my_root_tenant_identifier?(options[:feature]) && params.key?(:id) && params[:id] != 'xx-tn'
1313
if params[:id].to_s.include?('tn')
1414
_, id, _ = TreeBuilder.extract_node_model_and_id(params[:id].to_s)
1515
else

0 commit comments

Comments
 (0)