{{!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --}}

{{tt 'lbl.serviceName'}} : {{PolicyDetails.service}}

{{tt 'lbl.serviceType'}} : {{PolicyDetails.serviceType}}

{{tt 'h.policyDetails'}} :

{{#each PolicyDetails.resources}} {{/each}} {{#ifCond PolicyDetails.description '==' ""}} {{else}} {{/ifCond}} {{#if PolicyDetails.isRecursive}} {{/if}}
{{tt 'lbl.policyId'}}
{{tt 'lbl.policyName'}} {{PolicyDetails.name}} {{PolicyDetails.isEnabled}}
{{this.label}} {{#each this.values}} {{this}} {{/each}} {{this.Rec_Exc}}
{{tt 'lbl.description'}} -- {{PolicyDetails.description}}
Recursive {{PolicyDetails.isRecursive}}
{{tt 'lbl.auditLogging'}} {{PolicyDetails.isAuditEnabled}}
{{tt 'lbl.policyLabels'}} {{#ifCond PolicyDetails.policyLabels.length '==' "0"}} -- {{else}} {{#each PolicyDetails.policyLabels}} {{this}} {{/each}} {{/ifCond}}
{{#each PolicyDetails.policyItemsCond}}

{{this.title}} :

{{#each this.headers}} {{/each}} {{#each this.policyItems}} {{#if ../../PolicyDetails.policyCondition}} {{/if}} {{#if this.dataMaskInfo}} {{#ifCond this.dataMaskInfo.dataMaskType '==' "CUSTOM"}} {{else}} {{/ifCond}} {{/if}} {{#if this.rowFilterInfo}} {{/if}} {{#if ../../isDelegatAdmin}} {{/if}} {{/each}}
{{this}}
{{#if this.groups}} {{#each this.groups}} {{this}} {{/each}} {{else}} -- {{/if}} {{#if this.users}} {{#each this.users}} {{this}} {{/each}} {{else}} -- {{/if}} {{#if this.conditions}} {{#each this.conditions}} {{this.type}} : {{#each this.values}} {{this}} {{/each}} {{/each}} {{else}} -- {{/if}} {{#each this.accesses}} {{#if this.isAllowed}}{{this.type}}{{/if}} {{/each}} {{this.dataMaskInfo.label}} : {{this.dataMaskInfo.valueExpr}} {{this.dataMaskInfo.label}} {{#if this.rowFilterInfo.filterExpr}} {{this.rowFilterInfo.filterExpr}} {{else}} -- {{/if}}
{{/each}}

{{tt 'lbl.updatedBy'}} : {{PolicyDetails.updatedBy}}

{{tt 'lbl.updatedOn'}} : {{PolicyDetails.updateTime}}

{{tt 'lbl.createdBy'}} : {{PolicyDetails.createdBy}}

{{tt 'lbl.createdOn'}} : {{PolicyDetails.createTime}}