scopewso2wso2-api-manageraccess-controlapi-manager

WSO2 API Manager 2.6.0 How Manage Scopes for methods?


WSO2 API Manager 2.6.0 How Manage Scopes for methods?

I have an API with 100 method .

I have 40 role for use methods.

role1 use method 1, 2

role2 use method 2,3

role3 use method 1,3

.

.

.

role40 use method 1,2,40





I set these for hours and generated tokens for my users and gave it.

Now user 41 has been added and for example wants to access methods 1, 3 and 8 because the scope has no editing option.

The scopes defined for methods 1, 3 and 8 must be Delete, re-create and re-create the application with this new scope and give back to the users who used these methods.

This takes a lot of time and is annoying when it is constantly changing.

1- I think Scope is useful for three or four methods or for two or three users and in high numbers does not have the necessary efficiency

2- Or Is it possible to use the scope so that there is no need to delete and rebuild and give tokens to users again?

enter image description here


Solution

  • you can edit scope in first step of publisher and after this edit clear scope cache and then you can see edited scope. I use this and it's good for me.