jonnsl / sliComments

Comments component for Joomla! 1.6
GNU General Public License v3.0
16 stars 5 forks source link

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

Closed XiaofengGH closed 12 years ago

XiaofengGH commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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

Joankethly commented 10 years ago

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