Access Levels

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
dmitry:tpg
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Oct 04, 2007 12:14 pm

Access Levels

Post by dmitry:tpg » Tue Nov 20, 2007 3:35 pm

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

kdevine
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu Mar 02, 2006 8:38 pm
Location: Baltimore, MD

Re: Access Levels

Post by kdevine » Tue Nov 20, 2007 3:53 pm

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.

dmitry:tpg
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Oct 04, 2007 12:14 pm

Re: Access Levels

Post by dmitry:tpg » Tue Nov 20, 2007 3:57 pm

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.

aristondarmayuda
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed May 24, 2006 9:37 am

Re: Access Levels

Post by aristondarmayuda » Sat Feb 09, 2008 1:38 pm

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.


Post Reply