Closed (won't fix)
Project:
Rules
Version:
6.x-1.4
Component:
Module Integrations
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2012 at 06:27 UTC
Updated:
15 Oct 2018 at 04:16 UTC
Jump to comment: Most recent
Comments
Comment #1
tr commentedDrupal 6 is no longer supported, but people might have a similar need in Drupal 7 so I'll sketch out a solution.
In Drupal, permissions are attached to roles.
Modules like TAC allow you to create permissions based on taxonomy terms. So for instance you could have a permission to view a node only if it had a certain term.
But still, these permissions are attached to ROLES, not to users.
So it's quite possible, even easy, to assign a role to a user based on a system event. This is what I think you are asking to do.
If however you are trying to change the permissions attached to a role, there's no built-in Rule action to do that. In #521266: role/permission rules integration @fago indicated that capability, if needed, should be implemented in a separate module and not put into Rules core.