Hi

On Tue, May 17, 2011 at 5:35 PM, Amila Suriarachchi <[email protected]> wrote:

>
> without making assumptions please try yourself with a clean build. In the
> registry permissions section I can only see the admin role (not the
> adminRole I set)
>
>
Sorry about this. Created an L1 issue for this. We'll fix it soon.

https://wso2.org/jira/browse/CARBON-10045

tx,
dimuthu



> thanks,
> Amila.
>
>>
>> tx,
>> dimuthul
>>
>>
>>
>>> Please see the attachments.
>>>
>>> thanks,
>>> Amila,
>>>
>>>>
>>>> tx,
>>>> dimuthul
>>>>
>>>>
>>>>> 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
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to