Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Provided Module Integrations
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2009 at 15:16 UTC
Updated:
26 May 2012 at 18:37 UTC
Hi,
is there a solution to unblock a user via rule? I saw a "block user" item, but how can I make it reverse?
Cheers
Comments
Comment #1
askibinski commentedI believe this is not yet possible.
Changed the category to 'feature request'.
Comment #2
Apfel007 commentedHi,
thats sound good. I think it would be usefull to use rules in context "user valid" - "user expire" (Block AND Unblock).
Thanks
Comment #3
mitchell commented@fago: Do you want to send this over to core or fix it here?
Ideally, this would involve an update to user_action_info() and the creation of a user_unblock_user_action(). See http://api.drupal.org/api/drupal/modules--user--user.module/7
Note: user_block_* has namespace issues between blocking users and integrating with the block module.
Comment #4
Encarte commentedsubscribe
Comment #5
fagoThat's already fixed in Rules. Core is another issue, but there is already an issue for fixing that action anyway.
Comment #7
mitchell commentedUpdated component.