ReviewPolicyStepTemplate.html revision a500a8ecaba8363492aa1f4a62d5af939b2a91e6
{{! The IDs are used for testing }}
<div class="col2">
<h2>Name</h2>
{{#if entity.description}}
<h2>Description</h2>
{{/if}}
</div>
<div class="review-row clearfix{{#if options.invalidResource}} invalid{{/if}}{{#unless entity.resources}} invalid{{/unless}}" tabindex="0" >
<h2>Resources</h2>
{{#if entity.resources}}
<ul id="reviewRes">
{{#each entity.resources}}
{{/each}}
</ul>
{{else}}
<pre>There are no resources...</pre>
{{/if}}
</div>
<div class="review-row clearfix" tabindex="0" >
<h2>Actions</h2>
{{#if entity.actions}}
<ul id="reviewActions">
{{#each entity.actions}}
{{#if selected}}
<li>{{action}}: {{#if value}} Allowed {{else}} Denied {{/if}}</li>
{{/if}}
{{/each}}
</ul>
{{/if}}
</div>
</div>
<div class="col2">
<div class="review-row clearfix" tabindex="0" >
<h2>Subjects</h2>
{{#if subjectString}}
<pre>{{subjectString}}</pre>
{{/if}}
</div>
<div class="review-row clearfix" tabindex="0" >
<h2>Environments</h2>
{{#if environmentString}}
<pre>{{environmentString}}</pre>
{{else}}
<pre>There are no environment conditions...</pre>
{{/if}}
</div>
<div class="review-row clearfix" tabindex="0" >
{{#unless userAttributes}}
{{#unless staticAttributes}}
<h2>Response attributes</h2>
<pre>There are no response attributes...</pre>
{{/unless}}
{{/unless}}
{{#if userAttributes}}
<h2>User attributes</h3>
<ul>
{{#each userAttributes}}
<li>{{propertyName}}</li>
{{/each}}
</ul>
{{/if}}
{{#if staticAttributes}}
<h2>Static attributes</h2>
<ul>
{{#each staticAttributes}}
<li>{{propertyName}}: {{propertyValues}}</li>
{{/each}}
</ul>
{{/if}}
</div>
</div>