Requirement
------------------

There should be a store admin who can manage enterprise subscriptions.

Enterprise subscription is a way of doing batch subscriptions. In this way
individual users don't need to subscribe for an app individually. A store
admin can subscribe an entire enterprise.


Background
------------------

App Manager - Store is based on ES - Store app [1]


Proposed solution
--------------------------

1) Introduce a new internal user role called "store_admin"

2) Modify the store service provider in embedded IS to return
http://wso2.org/claims/role claim with the SAML response

3) Store user role info along with the signed in user

Render the app info paged based on the user role. (Only store admin can see
the enterprise subscription option)

[1] - https://github.com/wso2/product-es/tree/es-1.0.1-apm-reg
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2%2Fproduct-es%2Ftree%2Fes-1.0.1-apm-reg&sa=D&sntz=1&usg=AFQjCNHQ6m8fSaeoBltYnQ1yPdY8wDvplw>

-- 
*Rushmin Fernando*
*Technical Lead*

WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware

email : rush...@wso2.com
mobile : +94772310855
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to