ui: Make the Rules readonly when creating ServiceIdentities (#5784)

Skipped test added for nagging for the moment
This commit is contained in:
John Cowen 2019-05-07 14:09:23 +01:00 committed by GitHub
parent 8460badbf3
commit 77ebad1b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<strong>{{item.error.Rules.validation}}</strong>
{{/if}}
{{else}}
{{#code-editor name=(concat name '[Rules]') syntax='hcl' oninput=(action 'change' (concat name '[Rules]'))}}
{{#code-editor readonly=true name=(concat name '[Rules]') syntax='hcl' oninput=(action 'change' (concat name '[Rules]'))}}
{{~component 'service-identity' name=item.Name~}}
{{/code-editor}}
{{/if}}

View File

@ -77,3 +77,6 @@ Feature: dc / acls / policies / as many / add new: Add new policy
| token |
| role |
-------------
@ignore
Scenario: Make sure the Service Identity Rules are readonly
Then ok