Hi Folks,
I have been going through the permission model used by WSO2 MDM UI 2.0.0
Release
and found out that we are inserting a set of self-defined permissions to a
registry path
starting with the following pattern.
"/_system/governance/permission/" in
registry.put("/_system/governance/permission/" + path + "/" +
permission.key, resource);
My first question would be:
[1] Is this some kind of standard path" where we can define permissions
as in some permission tree where a set of permissions mapped into some
defined role?
My second question would be:
[2] How does the mapping occur in between users -> Roles -> Permissions?
I have seen some kind of mapping in between permissions and roles for
the following two user types
(A) device-mgt/admin and (B) device-mgt/user
in insertAppPermissions() function inside modules/utility.js file.
Is this some kind of temporary touch-up for the permission model or
are we planning to have only these two user roles in the system?
Appreciate your feedback on this.
Thanks.
*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. <http://wso2.com/>
Mobile: +94775149066
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev