Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Logedin user cannot post comment and see "Please login.." message. #9

Closed
XiaofengGH opened this issue Jan 12, 2012 · 3 comments
Closed

Comments

@XiaofengGH
Copy link

Here are steps :
1 Kunena is integrated. (registering and loging through Kunena Login module) (ok)
2 sliComments - Options - Permissions - Public is set do Denied (ok)
3 sliComments - Options - Permissions - Registered is set do Allow (ok)
4 Registered user is loged to site through Kunena Login module (ok)
5 Registered user cannot post comment and see "Log-in to post a comment!" (fail)

@jonnsl
Copy link
Owner

jonnsl commented Jan 12, 2012

This has nothing to do with kunena, its because of the joomla ACL. if you set the permission to denied it means that users in this group and user in descendants groups cannot perform the given action.
e.g.
-public - inherited (implicit deny) -> cannot perform the action
--registered - allowed -> can perform the action
...
-public - denied (explicit deny) -> cannot perform the action
--registered - allowed -> cannot perform the action

I must admit that this message "Log-in to post a comment!" is incorrect and misleading. but I didn't find anything better and since most people would not deny a specific usergroup other than "public" to post comments it seems more appropriate, and besides that visitors normally have no idea how acl, usergroups and that stuff works so "Log-in to post a comment!" seems more user friendly.

@XiaofengGH
Copy link
Author

I set public ACL to inherited as you suggested and indeed it works as you explained.
Thank you.

@Joankethly
Copy link

What is these settings for? Is it really applicable to all users?

http://www.bypaslane.com
bypaslane.com
http://www.cambridge-environmental-consulting.com
cambridge-environmental-consulting.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants