K. Weber
K. Weber

Reputation: 2773

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?

Upvotes: 1

Views: 1400

Answers (2)

Fonant
Fonant

Reputation: 397

Does the Rules Forms module - https://drupal.org/project/rules_forms - help?

Upvotes: 0

Muhammad Reda
Muhammad Reda

Reputation: 27043

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.

Upvotes: 1

Related Questions