Role Expire
bdziewierz - February 13, 2009 - 19:36
Role Expire is a simple module that allows administrators to set and control expiry dates of user roles. At the moment it implements the following functionality:
- Selecting a role (or roles) on user_profile_form triggers a textfield (or textfields) where admins can enter expiry date for selected items.
- Defined expiry dates are displayed on user's profile (visible only for owners of the profile or users with proper permissions). This can be altered using standard theme_ or hook_user() functions.
- Role expiry dates are controlled by Cron, so it automatically removes any expired roles.
- Simple API is provided to set, clear or retrieve expiry dates for given roles and users.
- Views.module handlers are provided for displaying, sorting and filtering expiry dates inside views (per role).
- Set default expiry duration in days for each role in the edit role screen, so that on receiving a role a user will keep it for n days. handy for Subscriptions or temporary access
- Migrate module support for migrating roles into your Drupal site.
This module is co-maintained by: bdziewierz, Amitaibu, stewsnooze
