*Motivation:* Before c5, API Manager product REST APIs resources have pre defined scopes and they cannot be changed.
But what if an admin needs to give access to Create, Update, Delete actions to different users? if he can customize the scopes associated with each resource, then he will be able to fine grain the access to each resource. *Design:*With C5, we thought of allowing admin users to add/change scopes in product REST APIs to meet their fine grained requirements. At the moment we can think of two ways to do this. 1. *Allow to edit the scopes defined per resource * In this case we can copy the swagger file into conf directory at build time, so that it can be maintained as a usual configuration file. 2. *Introduce a new config file to track resource to scope mapping.* In this case the issue is resource to scope mapping will be duplicated. Appreciate your insight on this. Thanks & Regards, Ishara Cooray Senior Software Engineer Mobile : +9477 262 9512 <+94%2077%20262%209512> WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
