diff --git a/ui/core/app/components/form/role/index.hbs b/ui/core/app/components/form/role/index.hbs index 0a87cde78..2530f4dbb 100644 --- a/ui/core/app/components/form/role/index.hbs +++ b/ui/core/app/components/form/role/index.hbs @@ -44,60 +44,62 @@ {{/if}} -
- {{t "form.grant_scope.label"}} - - {{t "form.grant_scope.help"}} - - - -
    - {{#each @grantScopes as |grantScope|}} -
  • - - - -
      - {{#each grantScope.subScopes as |subScope|}} -
    • - - - -
        - {{#each subScope.subScopes as |subSubScope|}} -
      • - - - -
      • - {{/each}} -
      -
    • - {{/each}} -
    -
  • - {{/each}} -
-
-
-
+ {{#unless @model.isNew}} +
+ {{t "form.grant_scope.label"}} + + {{t "form.grant_scope.help"}} + + + +
    + {{#each @grantScopes as |grantScope|}} +
  • + + + +
      + {{#each grantScope.subScopes as |subScope|}} +
    • + + + +
        + {{#each subScope.subScopes as |subSubScope|}} +
      • + + + +
      • + {{/each}} +
      +
    • + {{/each}} +
    +
  • + {{/each}} +
+
+
+
+ {{/unless}}