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

askibinski’s picture

Category: task » feature

I believe this is not yet possible.

Changed the category to 'feature request'.

Apfel007’s picture

Hi,
thats sound good. I think it would be usefull to use rules in context "user valid" - "user expire" (Block AND Unblock).

Thanks

mitchell’s picture

Title: User Status: How to unblock a user? » Action: unblock a user
Version: 6.x-1.x-dev » 7.x-2.x-dev
Component: Miscellaneous » Provided module integration
Status: Active » Postponed (maintainer needs more info)

@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.

Encarte’s picture

subscribe

fago’s picture

Status: Postponed (maintainer needs more info) » Fixed

That's already fixed in Rules. Core is another issue, but there is already an issue for fixing that action anyway.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mitchell’s picture

Component: Provided module integration » Provided Module Integrations

Updated component.