ui.acls.modify.editPrincipalAclsOnBranch.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="title" type="java.lang.String" -->
<#-- @ftlvariable name="aclsRequest" type="com.infobip.kafkistry.service.history.AclsRequest" -->
<#-- @ftlvariable name="existingValues" type="com.infobip.kafkistry.service.ExistingValues" -->
<#-- @ftlvariable name="branch" type="java.lang.String" -->
<#include "../../commonResources.ftl"/>
Kafkistry: Edit principal ACLs
<#include "../../commonMenu.ftl">
${title}
Branch name: ${branch}
<#if aclsRequest.errorMsg??>
Corrupted content!
Cause: ${aclsRequest.errorMsg}
Please fix corruption in storage files
#if>
<#if aclsRequest.principalAcls??>
<#assign principalAcls = aclsRequest.principalAcls>
<#include "../form/principalAclsForm.ftl">
<#switch aclsRequest.type>
<#case "ADD">
<#break>
<#case "UPDATE">
<#break>
<#case "DELETE">
Can't edit DELETE operation
<#break>
<#default>
Can't perform change
Having status: ${aclsRequest.type.name()}
<#break>
#switch>
#if>
<#include "../../common/cancelBtn.ftl">
<#include "../../common/createPullRequestReminder.ftl">
<#if aclsRequest.principalAcls??>
<#include "../../common/serverOpStatus.ftl">
<#include "../../common/entityYaml.ftl">
#if>
<#include "../../common/pageBottom.ftl">