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

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

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="lastCommit"  type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="principalRuleClusters"  type="com.infobip.kafkistry.service.acl.PrincipalAclsClustersPerRuleInspection" -->
<#-- @ftlvariable name="principalClusterRules"  type="com.infobip.kafkistry.service.acl.PrincipalAclsInspection" -->
<#-- @ftlvariable name="principalOwned"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="selectedRule"  type="java.lang.String" -->
<#-- @ftlvariable name="selectedCluster"  type="java.lang.String" -->
<#-- @ftlvariable name="pendingPrincipalRequests"  type="java.util.List" -->
<#-- @ftlvariable name="gitStorageEnabled"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="autopilotEnabled"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="autopilotActions"  type="java.util.List" -->




    <#include "../commonResources.ftl"/>
    
    
    Kafkistry: Principal acls
    
    





<#include "../commonMenu.ftl">

<#import "../common/util.ftl" as util>
<#import "util.ftl" as aclUtil>

<#assign principal = principalRuleClusters.principal>

<#include "../common/backBtn.ftl"> Principal ACLs: ${principal}

<#assign existInRegistry = principalRuleClusters.principalAcls??> <#if existInRegistry> <#if autopilotEnabled> <#if gitStorageEnabled>
Principal ${principal}
Principal in registry <@util.inRegistry flag = existInRegistry/>
OK <@util.ok ok = principalRuleClusters.status.ok/>
Owner <#if existInRegistry> ${principalRuleClusters.principalAcls.owner} <#if principalOwned> <@util.yourOwned what="principal"/> <#else> [none]
Description
Autopilot <#assign actionsSearchTerm = principal> <#include "../autopilot/relatedActions.ftl">
Actions <#if existInRegistry> Delete from registry... Edit ACLs... <#assign principalActions = util.enumListToStringList(principalRuleClusters.availableOperations)> <#if !existInRegistry && principalActions?seq_contains("IMPORT_PRINCIPAL")> Import to registry... <#if existInRegistry && principalActions?seq_contains("EDIT_PRINCIPAL_ACLS")> Suggest edit... <#if existInRegistry && principalActions?seq_contains("CREATE_MISSING_ACLS")> Create all missing ACLs... <#if principalActions?seq_contains("DELETE_UNWANTED_ACLS")> Delete all unwanted ACLs...
Pending changes <#assign pendingRequests = pendingPrincipalRequests> <#include "../common/pendingChanges.ftl">

<#if selectedRule?? || !(selectedCluster??)> <#assign ruleClusters = true> <#assign clusterRules = false> <#else> <#assign ruleClusters = false> <#assign clusterRules = true>
ACL rule statuses
<#if existInRegistry>
Display as:
style="display: none;"> <#include "principalRuleClusters.ftl">
style="display: none;"> <#include "principalClusterRules.ftl">
<#import "../quotas/util.ftl" as quotaUtil>
Affected by entity quotas
<#if principalClusterRules.affectingQuotaEntities?size == 0>
(none)
<#else> <#list principalClusterRules.affectingQuotaEntities as entity, presence>
Quota entity Affected by on clusters
<@quotaUtil.entity entity=entity/> <@util.presence presence=presence/>
<#if existInRegistry> <#if gitStorageEnabled>
<#assign historyUrl = appUrl.acls().showPrincipalHistory(principal)> <#include "../git/entityHistoryContainer.ftl">

Principal ACLs in registry

File name:

            
<#include "../common/pageBottom.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy