Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Similar to many Answers related sites, an open block form is presented to anonymous users even if only registered users can post.
Is there a way to have this functionality ?
Thanks for any feedback,
Comments
Comment #1
mansspams CreditAttribution: mansspams commenteddirty way could be to use rules module, allow - after content new content is created - if user has role "anonymous" AND content type is something - delete created content, display message to user.
But this is very ugly solution. Seperate permissions for Form Block blocks would be solution.
Comment #2
sbydrupal CreditAttribution: sbydrupal commentedThanks Manspams I will check the solution
Comment #3
mikey_p CreditAttribution: mikey_p commentedI agree with mansspams, that a dirty way may be the best way to handle this, since there is no good default behaviour for this feature.
Comment #4
mikey_p CreditAttribution: mikey_p commented