apigeecli environments iam setax prints wrong message
Closed this issue · 1 comments
Hej srinandan,
We are using apigeecli and are happy with it when it comes to grant deployer rights to our users.
We now wanted to start granting the analyticsViewer role as well and found out, that this is not possible as of now.
When using the 'apigeecli environments iam setax' command the output states "Member %s granted access to Apigee Analytics Viewer role" (cmd/env/setax.go), but when looking into the code, it looks as if the SetIAMPermission function (apiclient/iam.go) is using roles/apigee.analyticsAgent instead of roles/apigee.analyticsViewer
There are now two questions.
- Is this intended? If yes, the Output of setax should be changed.
- How long would it take, to implement an additional option (e.g. apigeecli environments iam setav) which is really granting roles/apigee.analyticsViewer?
Hope you can help us out here.
If you have any further questions, do not hesitate to contact me.
Best Regards,
Tim.
Sorry for the delayed answer.
Was able to successfully test it today.
Thanks so much for your swift response and provided solution.
Really appreciate it.