All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.acls.affectingAcls.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="affectingAcls" type="java.util.List" -->

<#import "util.ftl" as aclUtil>

<#macro aclRuleRow aclRule>
<#-- @ftlvariable name="aclRule" type="com.infobip.kafkistry.kafka.KafkaAclRule" -->
    
        
            
        
    
    ${aclRule.host}
    <@aclUtil.resource resource = aclRule.resource/>
    <@aclUtil.operation type = aclRule.operation.type/>
    <@aclUtil.policy policy = aclRule.operation.policy/>


Affected by ACL rules (${affectingAcls?size})
<#if affectingAcls?size == 0> (none) <#else> <#assign wildcardAcls = []> <#assign acls = []> <#list affectingAcls as aclRule> <#if aclRule.resource.name == '*'> <#assign wildcardAcls = wildcardAcls + [aclRule]> <#else> <#assign acls = acls + [aclRule]> <#list acls as aclRule> <@aclRuleRow aclRule=aclRule/> <#if wildcardAcls?size gt 0> <#list wildcardAcls as aclRule> <@aclRuleRow aclRule=aclRule/>
Principal Host Resource Operation Policy




© 2015 - 2024 Weber Informatics LLC | Privacy Policy