Understanding MRole

To err is to be human, to help each other is joy. Tell your Compiere needs in your own words. Let's figure out together.

Moderator: azaharizaman

Understanding MRole

Postby hema » Fri Sep 03, 2004 7:36 pm

Hi Red1,

while tracing Compiere, I came across these lines

MRole: get - AD_Role_ID=103, AD_User_ID=101, reload=true
MRole: loadOrgAccess - #2 - reload
MRole: loadTableAccess - #0
MRole: loadTableAccessLevel - #485
MRole: loadColumnAccess - #0
MRole: loadRecordAccess - #0 - Dependent #0
MRole: get - MRole[103,GardenWorld User,UserLevel= O,AD_Client_ID IN(0,11),AD_Org_ID IN(0,11,12)]

I want to know
-what does " loadOrgAccess - #2 - reload", "loadTableAccess - #0" mean?..... that is which data are these values referring to?
-What does it say about the user who has logged in?
-Also what does "AD_Client_ID IN(0,11),AD_Org_ID IN(0,11,12)"?

Many thanks :) ,
Hema
hema
Regular
 
Posts: 81
Joined: Wed Aug 25, 2004 5:21 pm

Postby red1 » Fri Sep 03, 2004 7:41 pm

Hema,
That part of the program u refer to is initialising and also preparing the cache so that the system behave faster after that.
When u do a cache reset, the same thing will happen again.

About your second question, the system is making sure that only valid options is happening in the system. All this is important to avoid corruption and security breaches by users.

These are my initial assumptions, if i find out that i m wrong i will update here.

regards
red1
red1
Site Admin
 
Posts: 2762
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

reply for the topic "MRole"

Postby hema » Fri Sep 03, 2004 8:24 pm

Hi Red1,

thank you for your explanations :D

Also I found out that the line below:
MRole[103,GardenWorld User,UserLevel= O,AD_Client_ID IN(0,11),AD_Org_ID IN(0,11,12)]

stores information for GardenWorld User, AD_Client_ID = 11 is for "GardenWorld" and AD_Org_ID = 12 is for "store". The UserLevel=0 applies to the client and organisation.

When I log in
as "System", the UserLevel = S,
or as "SuperUser" the UserLevel=S;

Wanted to share this info to everybody :)

Thanks again,
Hema
hema
Regular
 
Posts: 81
Joined: Wed Aug 25, 2004 5:21 pm


Return to Ask RED1 personally

Who is online

Users browsing this forum: No registered users and 0 guests

cron