drupaldrupal-7drupal-rules

Prevent content creation/edition with rules


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?


Solution

  • 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.