Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

apigeecli environments iam setax prints wrong message #11

Closed
bahag-klickst opened this issue Nov 11, 2021 · 1 comment
Closed

apigeecli environments iam setax prints wrong message #11

bahag-klickst opened this issue Nov 11, 2021 · 1 comment

Comments

@bahag-klickst
Copy link

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.

  1. Is this intended? If yes, the Output of setax should be changed.
  2. 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.

@bahag-klickst
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant