I'm trying to call GetInfo method on Account API as another account.
Preparation:
- created account.admin@example.com and account.user@example.com
- assigned delegated admin and getAccountInfo right on domain
Code: Select all
zmprov ma account.admin@example.com zimbraIsDelegatedAdminAccount TRUE
zmprov grr domain example.com usr account.admin@example.com +getAccountInfo
- authorize to Account API (also tried with Admin API) using account.admin@example.com
- call GetInfo on Account API with account.admin's auth token but in the context of account.user@example.com
Result:
permission denied: can not access account account.user@example.com
What am I doing wrong?