ACL issues - Joomla! Forum - community, help and support


i building website large group.
let me give little info on setup.

running joomla version 2.5.6

the site has multiple groups in acl here example of groups

registered
|—|— member
|—|—|— leader
|—|—|—|— group1
|—|—|—|— group2

each leader group has own news category can post in.

category example
news
|— group1
|— group2

at global config level leader group has access
site login - allowed
admin login - allowed
and nothing else.

at content level have access
access administration interface - allowed
and nothing else

at category level have access
create - allowed
and nothing else.

when login able create articles in category intended. if go category view, able create sub categories in news category, not want them able to.

am missing or bug?

thanks help.

the ability create subcategories included "create" permission (that allows 1 create articles). solution seems lie in suppressing user's ability use screen allows 1 create new category.

the secure approach override view file allows 1 edit details of category. near top add php code determines whether or not user should have access file. if user not have credentials require, invoke code "return;" , edit portion of screen not visible. if editing portion not visible, user cannot create new category.

for credentials, typically check see if user belongs @ least 1 credentialed group or access level, , if not, not show edit form. , practice display short text informing user he/she not have credentials create or edit category.

keep in mind screen can used more article categories. credentials establish having rights create/edit category apply components. if want enforced articles, want check parameters , enforce credentials check if paramter extensions equals com_content.





Comments