0

In my drupal 8.6.1 news blog anonymous users can skip comment approval althouth permissions are set to not skip. I rebuilt the permissions but nothing changed.

Also in comments page I see that some anonymous users are linked to an anonymous user account with id = 0 !

My site is not hacked and I can't understand what is going on.

Check this image!

enter image description here

Is there a chance that my drupal 8.6.1 has this unexpected behavior because is running on server with php 5.6?

Thanks in advance

5
  • Can you see their comments when you're not logged into drupal? Are you sure you're not using an admin account that can see everything?
    – Beebee
    Sep 25, 2018 at 14:27
  • Yes I can see the comments when I am not logged in. Yes I am sure, I use user with id = 1.
    – isin
    Sep 25, 2018 at 14:38
  • By default, the anonymous user account is only the one shown as Anonymous (not verified). You can change the anonymous user name in /admin/config/people/accounts to, for example, ΑΝΟΝΥΜΟUΣ, but you cannot have two anonymous users with different names.
    – apaderno
    Sep 25, 2018 at 15:45
  • The ΑΝΩΝΥΜΟΥΣ not verified is the greek version that's why I didn't consider as wrong. But why there is a link for /user/0 for whom I have to permission to see? There is no user id =0 in my site / db.
    – isin
    Sep 25, 2018 at 17:24
  • I have the same problem... running on php 7.1. Did you solve this issue? Did you add a bug in the issue queue?
    – Baud
    Oct 26, 2018 at 11:59

1 Answer 1

1

On my side, the problem was the use of the cleantalk module.

In this module, in the configuration page: admin/config/content/cleantalk/settings

You must uncheck "Enable automoderation" if you do not want to override the "Skip comment approval" permission

1
  • Thank you very much! Cleantalk caused the error! Couldn't find it after so much search.
    – isin
    Oct 27, 2018 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.