Re: [Carbon-dev] How to check for Admin Role

2011-05-18 Thread Amila Suriarachchi
On Wed, May 18, 2011 at 10:51 AM, Hasini Gunasinghe wrote: > Hi, > > On Wed, May 18, 2011 at 9:36 AM, Dimuthu Leelarathne wrote: > >> Hi >> >> On Tue, May 17, 2011 at 5:35 PM, Amila Suriarachchi wrote: >> >>> >>> without making assumptions please try yourself with a clean build. In the >>> regist

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Hasini Gunasinghe
Hi, On Wed, May 18, 2011 at 9:36 AM, Dimuthu Leelarathne wrote: > Hi > > On Tue, May 17, 2011 at 5:35 PM, Amila Suriarachchi 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

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi On Tue, May 17, 2011 at 5:35 PM, Amila Suriarachchi 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 so

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Amila Suriarachchi
On Tue, May 17, 2011 at 2:27 PM, Dimuthu Leelarathne wrote: > Hi, > > On Tue, May 17, 2011 at 9:19 AM, Amila Suriarachchi wrote: > >> renamed the admin and every one Roles. But still see the admin role as. >> >> > You have to clean the database. You can see the new admin role. If you want > to de

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi, On Tue, May 17, 2011 at 9:34 AM, Amila Suriarachchi wrote: > In the user-mgt.xml we have, > > > admin > > admin > admin > > everyone > > It seems there is no real admin user or a

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi, Please see my comments inline. On Tue, May 17, 2011 at 9:34 AM, Amila Suriarachchi wrote: > In the user-mgt.xml we have, > > > admin > > admin > admin > > everyone > > It seems

Re: [Carbon-dev] How to check for Admin Role

2011-05-17 Thread Dimuthu Leelarathne
Hi, On Tue, May 17, 2011 at 9:19 AM, Amila Suriarachchi wrote: > renamed the admin and every one Roles. But still see the admin role as. > > You have to clean the database. You can see the new admin role. If you want to delete the existing admin role you have to explicitly delete it. user-mgt.x

Re: [Carbon-dev] How to check for Admin Role

2011-05-16 Thread Amila Suriarachchi
In the user-mgt.xml we have, admin admin admin everyone It seems there is no real admin user or admin role concept in carbon. What it does is create a user with the given user name an

Re: [Carbon-dev] How to check for Admin Role

2011-05-16 Thread Amila Suriarachchi
User manager.xml thanks, Amila. On Tue, May 17, 2011 at 9:19 AM, Amila Suriarachchi wrote: > > > On Mon, May 16, 2011 at 6:58 PM, Dimuthu Leelarathne wrote: > >> hi, >> >> On Mon, May 16, 2011 at 8:23 AM, Amila Suriarachchi wrote: >> >>> hi, >>> >>> This is regarding this issue[1]. >>> >>> Can

Re: [Carbon-dev] How to check for Admin Role

2011-05-16 Thread Amila Suriarachchi
On Mon, May 16, 2011 at 6:58 PM, Dimuthu Leelarathne wrote: > hi, > > On Mon, May 16, 2011 at 8:23 AM, Amila Suriarachchi wrote: > >> 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.

Re: [Carbon-dev] How to check for Admin Role

2011-05-16 Thread Dimuthu Leelarathne
hi, On Mon, May 16, 2011 at 8:23 AM, Amila Suriarachchi wrote: > 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? > > We don't have a hard-coded admin rolename. +1

[Carbon-dev] How to check for Admin Role

2011-05-15 Thread Amila Suriarachchi
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,