ui.acls.management.bulkCreateClusterMissingRules.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="missingPrincipalRules" 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 cluster
Going to create all principal ACL rules on cluster
Cluster: ${clusterIdentifier}
Principal
Host
Resource
Operation
Policy
<#list missingPrincipalRules as principal, rules>
${principal} - #Rules: ${rules?size}
<#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-"+principal?replace(":", "_")>
<#include "../../common/serverOpStatus.ftl">
#list>
<#if missingPrincipalRules?size gt 0>
<#else>
No principals need creation of ACl rules
#if>
<#include "../../common/cancelBtn.ftl">
<#assign statusId = "">
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/pageBottom.ftl">