سؤال

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?

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top