Can someone please explain how the ACL control in Community Answers works

I made a group in joomla have access to a particular category. The category which is selected on the main page but when a user in that group (other than a super admin) logs in, the user is not able to view questions added by the super admin.

(I did not notice this before because i have been developing with the superadmin account)

Posted in Community Answers, asked by Osiloke, 2 years ago. 2228 hits.

Like it on Facebook, +1 on Google, Tweet it or share this question on other bookmarking websites.

8

better solutions, use access levels rather than groups. Read on joomla's permissions model.

Osiloke
2 years ago

7

The problem is here

$wheres[] = 'c.permission_view is null or c.permission_view in ('.$groups.')';

Not sure what line that is since i made mods to your code. but in my copy it is on line 142 models/answers.php in version 1.8.6

Osiloke
2 years ago

3

These bugs just keep coming. I saw that you check to see if a user has access to a category. You consider one access group selected but your code does not account for multiple groups.

It seems most joomla component builders dont fully or correctly implement Joomla ACL in their components. Please do fix this.

Osiloke
2 years ago

0

Hi Osiloke,

You don't need to fix all these, it is already fixed in 1.8.7. See change log:
www.corejoomla.com/component/zoo/item/community...

Maverick
2 years ago

-2

you dont even check to see if global permissions should take place. I think the problem is that most of your users dont use Joomla's ACL and hence you havent noticed these ACL issues

Osiloke
2 years ago

-6

I made a small hack to fix this. Unless this was fixed in the 1.8.7 version. Please confirm

Osiloke
2 years ago

-18

i will install the new version and give you feedback if there are any other issues. thanks

Osiloke
2 years ago
Please register/login to answer this question.  Click here to login
- Just now

0

Just now
/answers.html
/answers/get_answer/829.html
/answers/save_reply/829.html
/answers/save_answer/829.html
/answers/accept_answer/829.html
/answers/unaccept_answer/829.html
/answers/unpublish_answer/829.html
/answers/delete_answer/829.html
/answers/update_answer/829.html
/answers/like/829.html
/answers/dislike/829.html
/answers/report_answer/829.html
/answers/report_question/829.html
/answers/save_bounty/829.html