I think it would be very useful to allow for a php snippet for returning the role/s or user/s in the rules action. This would allow for choosing them dynamically based on node fields or fetched entities.

Thanks

Comments

acrazyanimal’s picture

Hey there, your issue may now be duplicated by #1464948: Dynamically setting content access permissions using rules. Please take a look and see if the patch helps you out as well.

gisle’s picture

Version: 7.x-1.2-beta1 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Closed (outdated)

This issue has not received any updates in the previous 8 years. If you believe it to still be relevant, you are encouraged to reopen the issue and update it.

If you got an email about this Issue status update, it is because you at one time (possibly a very long time ago), subscribed to it. To learn how to unsubscribe yourself, please visit: https://www.drupal.org/project/webmasters/issues/3142987