zimbra 多租户管理员授权

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zimbra 多租户管理员授权相关的知识,希望对你有一定的参考价值。

In order to create a multi tenancy in zimbra OSA, can be acheived through a bash script below. Thanks to Ahmad Imanuddin (http://www.imanudin.com) for sharing this very useful script.

cd /srv/
vi admin-delegate.sh

Fill with the following line :

#!/bin/bash
# $1 domain
# $2 email
zmprov ma $2 zimbraIsDelegatedAdminAccount TRUE
zmprov ma $2 zimbraAdminConsoleUIComponents cartBlancheUI zimbraAdminConsoleUIComponents domainListView zimbraAdminConsoleUIComponents accountListView zimbraAdminConsoleUIComponents DLListView
zmprov ma $2 zimbraDomainAdminMaxMailQuota 0
zmprov grantRight domain $1 usr $2 +createAccount
zmprov grantRight domain $1 usr $2 +createAlias
zmprov grantRight domain $1 usr $2 +createCalendarResource
zmprov grantRight domain $1 usr $2 +createDistributionList
zmprov grantRight domain $1 usr $2 +deleteAlias
zmprov grantRight domain $1 usr $2 +listDomain
zmprov grantRight domain $1 usr $2 +domainAdminRights
zmprov grantRight domain $1 usr $2 +configureQuota
zmprov grantRight domain $1 usr $2 set.account.zimbraAccountStatus
zmprov grantRight domain $1 usr $2 set.account.sn
zmprov grantRight domain $1 usr $2 set.account.displayName
zmprov grantRight domain $1 usr $2 set.account.zimbraPasswordMustChange
zmprov grantRight account $2 usr $2 +deleteAccount
zmprov grantRight account $2 usr $2 +getAccountInfo
zmprov grantRight account $2 usr $2 +getAccountMembership
zmprov grantRight account $2 usr $2 +getMailboxInfo
zmprov grantRight account $2 usr $2 +listAccount
zmprov grantRight account $2 usr $2 +removeAccountAlias
zmprov grantRight account $2 usr $2 +renameAccount
zmprov grantRight account $2 usr $2 +setAccountPassword
zmprov grantRight account $2 usr $2 +viewAccountAdminUI
zmprov grantRight account $2 usr $2 +configureQuota

# Save and give execute access

chmod +x /srv/admin-delegate.sh

# Login as Zimbra user and execute the script

su - zimbra
cd /srv/
./admin-delegate.sh domainname account-email

example

./admin-delegate.sh imanudin.net [email protected]


原文参考:http://tweenpath.net/zimbra-domain-administration-multi-tenant/

以上是关于zimbra 多租户管理员授权的主要内容,如果未能解决你的问题,请参考以下文章

什么是多租户模式?

.NET CORE开源 DDD微服务 支持 多租户 单点登录 多级缓存自动任务分布式日志授权和鉴权 网关 注册与发现 系统架构 docker部署

jeecgboot(单表,多表,表单默认值填值规则,角色部门权限租户)

jeecgboot(单表,多表,表单默认值填值规则,角色部门权限租户)

jeecgboot(单表,多表,表单默认值填值规则,角色部门权限租户)

理解 Oracle 多租户体系中(12c,18c,19c)Grant授权作用域范围