We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e37dec7 + 6e02960 commit 6bb35ebCopy full SHA for 6bb35eb
app/controllers/ops_controller/ops_rbac.rb
@@ -9,7 +9,7 @@ module OpsController::OpsRbac
9
}.freeze
10
11
def role_allows?(**options)
12
- if MiqProductFeature.my_root_tenant_identifier?(options[:feature]) && params.key?(:id)
+ if MiqProductFeature.my_root_tenant_identifier?(options[:feature]) && params.key?(:id) && params[:id] != 'xx-tn'
13
if params[:id].to_s.include?('tn')
14
_, id, _ = TreeBuilder.extract_node_model_and_id(params[:id].to_s)
15
else
0 commit comments