How to configure RBAC for Monetization where the user role permission can be set to view and download revenue reports?

 
Solved Solved
2 1 245
1 ACCEPTED SOLUTION

The default GET permission for / will cover these paths to use the UI:

  • /organization-family
  • /tncs
  • /report-definitions
  • /billing-documents-months
  • /packages-with-transactions
  • /products-with-transactions
  • /developers-with-transactions
  • /applications-with-transactions

To actually generate a report (from the UI or API) you must add a PUT permission for

  • /revenue-reports

i.e.

{"path":"/revenue-reports","permissions":["put"]}
and if you want to save report definitions, a PUT for
  • /report-definitions

More details on the list of Monetization API resources can be found here :

http://docs.apigee.com/api-reference/content/monetization-apis

APIs on how to create User Roles and Permission can be found here:

http://docs.apigee.com/api/user-roles

Thanks @kchan for this information.

View solution in original post

1 REPLY 1

The default GET permission for / will cover these paths to use the UI:

  • /organization-family
  • /tncs
  • /report-definitions
  • /billing-documents-months
  • /packages-with-transactions
  • /products-with-transactions
  • /developers-with-transactions
  • /applications-with-transactions

To actually generate a report (from the UI or API) you must add a PUT permission for

  • /revenue-reports

i.e.

{"path":"/revenue-reports","permissions":["put"]}
and if you want to save report definitions, a PUT for
  • /report-definitions

More details on the list of Monetization API resources can be found here :

http://docs.apigee.com/api-reference/content/monetization-apis

APIs on how to create User Roles and Permission can be found here:

http://docs.apigee.com/api/user-roles

Thanks @kchan for this information.