{{!-- 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. --}}
Policy ID :   {{#if zoneName}} {{/if}} {{#if collection.length}}
Policy Details :

Fields

    {{#each collection}}
  1. {{./this.attributes.attributeName}}
  2. {{/each}}

Old Value

    {{#each collection}}
  1. {{./this.attributes.previousValue}}
  2. {{/each}}
{{/if}} {{#if oldPolicyValidityPeriod}}
Validity Period :

Old Value

{{#each oldPolicyValidityPeriod}}
  1. Start Date: {{#if this.startTime}} {{this.startTime}}, {{else}} -- {{/if}}
  2. End Date: {{#if this.endTime}} {{this.endTime}}, {{else}} -- {{/if}}
  3. Time Zone: {{#if this.timeZone}} {{this.timeZone}}, {{else}} -- {{/if}}

{{/each}}
{{/if}} {{#if oldPolicyCondition}}
Policy Conditions :

Old Value

{{#each oldPolicyCondition}}
  • {{#if this.type}} {{this.type}} : [{{this.values}}] {{else}} -- {{/if}}
  • {{/each}}
    {{/if}} {{#if oldPolicyItems}}
    Allow PolicyItems :

    Old Value

    {{#each oldPolicyItems}}
    1. Roles: {{#if_eq this.roles compare=0}} <empty> {{else}} {{#each this.roles}} {{this}}, {{/each}} {{/if_eq}}
    2. Groups: {{#if_eq this.groups compare=0}} <empty> {{else}} {{#each this.groups}} {{this}}, {{/each}} {{/if_eq}}
    3. Users: {{#if_eq this.users compare=0}} <empty> {{else}} {{#each this.users}} {{this}}, {{/each}} {{/if_eq}}
    4. Permissions: {{#each this.permissions}} {{this}} , {{/each}}
    5. {{#if this.conditions}}
    6. Conditions: {{#each this.conditions}} {{this.type}} : [{{this.values}}], {{/each}}
    7. {{/if}}
    8. Delegate Admin: {{this.delegateAdmin}}

    {{/each}}
    {{/if}} {{#if oldMaskPolicyItems}}
    Masking Policy Items :

    old Value

    {{#each oldMaskPolicyItems}}
    1. Roles: {{#if_eq this.roles compare=0}} <empty> {{else}} {{#each this.roles}} {{this}}, {{/each}} {{/if_eq}}
    2. Groups: {{#if_eq this.groups compare=0}} <empty> {{else}} {{this.groups}} {{/if_eq}}
    3. Users: {{#if_eq this.users compare=0}} <empty> {{else}} {{this.users}} {{/if_eq}}
    4. Accesses: {{#each this.accesses}} {{this.type}} , {{/each}}
    5. {{#if this.dataMaskInfo}}
    6. Data Mask Types: {{this.dataMaskInfo.dataMaskType}}
    7. {{/if}}

    {{/each}}
    {{/if}} {{#if oldRowFilterPolicyItems}}
    Row Level Filter Policy Items :

    Old Value

    {{#each oldRowFilterPolicyItems}}
    1. Roles: {{#if_eq this.roles compare=0}} <empty> {{else}} {{#each this.roles}} {{this}}, {{/each}} {{/if_eq}}
    2. Groups: {{#if_eq this.groups compare=0}} <empty> {{else}} {{this.groups}} {{/if_eq}}
    3. Users: {{#if_eq this.users compare=0}} <empty> {{else}} {{this.users}} {{/if_eq}}
    4. Accesses: {{#each this.accesses}} {{this.type}} , {{/each}}
    5. {{#if this.rowFilterInfo}}
    6. Row Level Filter: {{this.rowFilterInfo.filterExpr}}
    7. {{/if}}

    {{/each}}
    {{/if}} {{#if oldAllowExceptionPolicyItems}}
    Allow Exception PolicyItems :

    Old Value

    {{#each oldAllowExceptionPolicyItems}}
    1. Roles: {{#if_eq this.roles compare=0}} <empty> {{else}} {{#each this.roles}} {{this}}, {{/each}} {{/if_eq}}
    2. Groups: {{#if_eq this.groups compare=0}} <empty> {{else}} {{#each this.groups}} {{this}}, {{/each}} {{/if_eq}}
    3. Users: {{#if_eq this.users compare=0}} <empty> {{else}} {{#each this.users}} {{this}}, {{/each}} {{/if_eq}}
    4. Permissions: {{#each this.permissions}} {{this}} , {{/each}}
    5. {{#if this.conditions}}
    6. Conditions: {{#each this.conditions}} {{this.type}} : [{{this.values}}], {{/each}}
    7. {{/if}}
    8. Delegate Admin: {{this.delegateAdmin}}

    {{/each}}
    {{/if}} {{#if oldDenyPolicyItems}}
    Deny PolicyItems :

    Old Value

    {{#each oldDenyPolicyItems}}
    1. Roles: {{#if_eq this.roles compare=0}} <empty> {{else}} {{#each this.roles}} {{this}}, {{/each}} {{/if_eq}}
    2. Groups: {{#if_eq this.groups compare=0}} <empty> {{else}} {{#each this.groups}} {{this}}, {{/each}} {{/if_eq}}
    3. Users: {{#if_eq this.users compare=0}} <empty> {{else}} {{#each this.users}} {{this}}, {{/each}} {{/if_eq}}
    4. Permissions: {{#each this.permissions}} {{this}} , {{/each}}
    5. {{#if this.conditions}}
    6. Conditions: {{#each this.conditions}} {{this.type}} : [{{this.values}}], {{/each}}
    7. {{/if}}
    8. Delegate Admin: {{this.delegateAdmin}}

    {{/each}}
    {{/if}} {{#if oldDenyExceptionPolicyItems}}
    Deny Exception PolicyItems :

    Old Value

    {{#each oldDenyExceptionPolicyItems}}
    1. Roles: {{#if_eq this.roles compare=0}} <empty> {{else}} {{#each this.roles}} {{this}}, {{/each}} {{/if_eq}}
    2. Groups: {{#if_eq this.groups compare=0}} <empty> {{else}} {{#each this.groups}} {{this}}, {{/each}} {{/if_eq}}
    3. Users: {{#if_eq this.users compare=0}} <empty> {{else}} {{#each this.users}} {{this}}, {{/each}} {{/if_eq}}
    4. Permissions: {{#each this.permissions}} {{this}} , {{/each}}
    5. {{#if this.conditions}}
    6. Conditions: {{#each this.conditions}} {{this.type}} : [{{this.values}}], {{/each}}
    7. {{/if}}
    8. Delegate Admin: {{this.delegateAdmin}}

    {{/each}}
    {{/if}}