This documentation is for WSO2 API Manager 1.5.0 View documentation for the latest release.
Page Comparison - Throttling Tiers (v.11 vs v.12) - API Manager 1.5.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

According to the tiers s/he selects, the subscriber is granted a maximum number of requests to the API.

Setting tier permissions

An API creator can set role-based permissions to API-level access throttling tiers using the Tier Permissions tab of API Publisher as follows:

Image Added

 

 

With this feature role based permissions for each Tier can be defined through the API Publisher. Then the API subscription Tiers are filtered based on the subscriber’s role.


In the API Publisher, new ‘Tier Permissions’ page allows defining the roles against each Tier.

Info

This 'Tier Permissions' page will be visible to users with 'Manage Tiers' Permissions only.


Either you can define the Roles, ALLOWED for a Tier or DENIED for a Tier. By default all the Tiers are ALLOWED for everyone.

ALLOW Permissions

If you need to ALLOW a Tier to some roles only, then you can select “allow” and define those roles as a comma separated list. So only the subscribers who fall under those roles will  be able to subscriber to APIs using that Tier.

Image Added

Only subscribers who has role1 or role2 will be able to subscribe using Bronze Tier.

DENY Permissions

 If you need to DENY a Tier to some roles, then you can select “deny” and define those roles as a comma separated list. So all the subscribers who fall under those roles will not be able to to subscriber to APIs using that Tier.

Image Added

 

Subscribers who has role1 or role2 will not be able to subscribe using Bronze Tier. Others can subscriber using Bronze Tier.

 

In the API Store,  when a user is subscribing to an API, the available Tiers will be filtered based on the subscribers role. So only the ALLOWED roles will appear here.

Image Added

Application-level throttling

...