On the Global Page Anonymous users can still Create a new post. They can't like or comment on any posts. But they can still create new posts as Anonymous users. How can I fix this, so they can only View the content, But not create new posts?

Thanks

Comments

panis’s picture

Need to update the code.
1. edit drupal_wall.page.inc
2. add the following to _drupal_wall_content_post_form() as the first line.

  if(!user_access('create drupal_wall content')) return;

basically if the user does not have access to create a drupal_wall content then it will not display the form. Make sure the anon user does not have access to create a new drupal_wall content type.

kap316’s picture

Excellent! Thank you panis

vineet.osscube’s picture

Version: 7.x-2.6 » 7.x-2.7
Status: Active » Closed (fixed)

Hi kap316,

The issue has been resolved, a new permission has been introduced. Please refer latest release.