Page 1 of 1

Access Levels

Posted: Tue Nov 20, 2007 3:35 pm
by dmitry:tpg
Hi

I've been playing around with _core_acl_aro_groups table trying to add a new access level and I have successfully done so. However, I can't quite figure out what lft and rgt columns are for. lft seems to determine the visual placement of the element in a tree, while rgt doesn't quite do anything. I suspect it does interact with those hyphens and dots in the access level tree.

Please tell me how this table works and what would be the best way to go around adding more access levels to the site.

Kind regards,

Dmitry

Re: Access Levels

Posted: Tue Nov 20, 2007 3:53 pm
by kdevine
I'm not much with DB stuff and I haven't played around much with Joomla's acl but I do know the left right values in a DB table are used to create a tree structure, in this case it's a nested set model. The purpose would be for heirarchy, so where ever the record falls in the tree structure would dictate it's access level.

Re: Access Levels

Posted: Tue Nov 20, 2007 3:57 pm
by dmitry:tpg
kdevine wrote:I'm not much with DB stuff and I haven't played around much with Joomla's acl but I do know the left right values in a DB table are used to create a tree structure, in this case it's a nested set model. The purpose would be for heirarchy, so where ever the record falls in the tree structure would dictate it's access level.


thanks for the reply!

That makes it a bit clearer. But what role does the parenid then play? I thought it determined the access level as well. At least the item would inherit the access level from its parent.

Re: Access Levels

Posted: Sat Feb 09, 2008 1:38 pm
by aristondarmayuda
I have problem too to figure what lft and rgt. If it belong for creating tree why Author and Manager has different lft and rgt value. The author and manager is at same position and level? I guess it not for indent of the tree. So I think I keep it as default value.