hi,
This is regarding this issue[1].
Can we change the admin role name? if so what is the meaning of the
ADMIN_ROLE = "admin" in
org.wso2.carbon.utils.ServerConstants?
And also,
userRealm.getAuthorizationManager().isUserAuthorized(
loggedInUser, topicResourcePath,
EventBrokerConstants.EB_PERMISSION_CHANGE_PERMISSION)
returns false if user is not explicitly given the permission to that
resource. But in carbon there is a convention to
allow any user in admin role to do any activity. Then why don't we add that
rule too to the user manager.
Then everyone does not have to repeat admin role check every where.
thanks,
Amila.
[1] https://wso2.org/jira/browse/CARBON-9959
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev