ui.acls.management.bulkCreatePrincipalMissingRules.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="principal" type="java.lang.String" -->
<#-- @ftlvariable name="missingClusterRules" type="java.util.Map>" -->
<#include "../../commonResources.ftl"/>
Kafkistry: Create ACL rules
<#include "../../commonMenu.ftl">
<#import "../util.ftl" as aclUtil>
<#include "../../common/backBtn.ftl"> Bulk create missing ACLs on clusters
Going to create ACL rules on clusters
Principal: ${principal}
Principal
Host
Resource
Operation
Policy
<#list missingClusterRules as clusterIdentifier, rules>
${clusterIdentifier}
<#list rules as rule>
${rule.principal}
${rule.host}
<@aclUtil.resource resource = rule.resource/>
<@aclUtil.operation type = rule.operation.type/>
<@aclUtil.policy policy = rule.operation.policy/>
#list>
<#assign statusId = "op-status-"+clusterIdentifier>
<#include "../../common/serverOpStatus.ftl">
#list>
<#if missingClusterRules?size gt 0>
<#else>
No clusters need creation of ACl rules
#if>
<#include "../../common/cancelBtn.ftl">
<#assign statusId = "">
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/pageBottom.ftl">