Page 1 of 1

OSE - How to delegate admin to user can unblock account status?

Posted: Tue Dec 04, 2018 6:41 am
by jackyho
Hi All,

I'm using the OSE version, I can delegate for my staff the specify rights such as view, change password on Accounts. I really want they can have the right to change the account status (Active, lock, pending.... ). How can I reach it by command line?
Thank you.

Re: OSE - How to delegate admin to user can unblock account status?

Posted: Tue Dec 04, 2018 7:08 am
by jackyho
Answered by myself:

To grant a user has a specify rights such as:

Account: View, Change password and change user status
Distribution list: View, Add/Remove member of the list

I've used the command line below. You should run it under zimbra account

$ zmprov ma u1@example.com zimbraIsDelegatedAdminAccount TRUE zimbraAdminConsoleUIComponents accountListView zimbraAdminConsoleUIComponents DLListView
Account rights:
$ zmprov grr domain example.com usr u1@example.com listAccount
$ zmprov grr domain example.com usr u1@example.com countAccount
$ zmprov grr domain example.com usr u1@example.com +changeAccountPassword
$ zmprov grr domain example.com usr u1@example.com modifyAccount
$ zmprov grr domain example.com usr u1@example.com getAccountInfo
Distribution list rights:
$ zmprov grr domain example.com usr u1@example.com countDistributionList
$ zmprov grr domain example.com usr u1@example.com listDistributionList
$ zmprov grr domain example.com usr u1@example.com +modifyDistributionList
$ zmprov grr domain example.com usr u1@example.com +addDistributionListMember
$ zmprov grr domain example.com usr u1@example.com +removeDistributionListMember
$ zmprov grr domain example.com usr u1@example.com +getDistributionListMembership

Hope this help.