Prevent content creation/edition with rules
-
20-06-2021 - |
Frage
Is it possible to avoid content creation/edition just based in rules?
For example, a rule "before node save" that redirects to home page or other page.
Does this prevent node saving or it just saves and then redirect? if it does prevent, is it hackeable like faking a form that submits to the real saving url?
Lösung
You can manipulate the node permissions and customize them to override the default values set in admin/people/permissions
using hook_node_access()
Hope this helps... Muhammad.
Andere Tipps
Does the Rules Forms module - https://drupal.org/project/rules_forms - help?
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow