Although we don't have a requirement to attach multiple scopes for a given
resource, it may come up as a need in the future. So if possible let's not
try to make any assumptions based on the current situation.

On Thu, Sep 14, 2017 at 5:18 PM, Viduranga Gunarathne <[email protected]>
wrote:

> Hi,
> With the existing implementation in the store and publisher yaml, there is
> only a single scope provided in the security for resources as shown in
> Image #1. But other swagger definitions tend to have multiple scopes for a
> single resource as shown in Image #2.
> Currently there is no requirement in API Manager to support for multiple
> scopes but I was wondering if there would be a requirement to cater to
> multiple scopes in future ?
>
> ========================================================================
> Image #1: (store-api.yaml in API Manager)
> ------------------------------------------------------------
> ------------------------------------------------
> ------------------------------------------------------------
> -----------------------------------------------
> =======================================================================
> Image #2: (Petstore swagger in http://petstore.swagger.io/)
> ------------------------------------------------------------
> ------------------------------------
>
> ​​----------------------------------------------------------
> --------------------------------------
> =======================================================================
>
> Thanks,
> Viduranga.
> --
> Regards,
>
> *Viduranga Gunarathne*
>
> *Software Engineer Intern*
>
>
> *WSO2*
> Email : [email protected]
> Mobile : +94712437484 <+94%2071%20243%207484>
> Web : http://wso2.com
> [image: https://wso2.com/signature] <https://wso2.com/signature>
>



-- 
Nuwan Dias

Software Architect - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to