Hi,
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 domainWhat I'm doing:
- 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?
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:
zmprov ma account.admin@example.com zimbraIsDelegatedAdminAccount TRUEzmprov 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?
Statistics: Posted by Furgas — Tue Jan 28, 2025 11:52 am