/[drupal]/contributions/modules/account_expiry/README.txt
ViewVC logotype

Contents of /contributions/modules/account_expiry/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jan 28 09:00:13 2008 UTC (22 months ago) by jdsaward
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
Adding README file
1 // $Id:
2
3 --Accountexpiry Module--
4
5 This module allows creation and maintenance of an account expiry date specific to a user, and depending on their account type.
6
7 Pre-requisite for the account expiry module is the accounttypes module that allows the definition of certain account types, e.g. full member, trial member, etc.
8
9 This module (account expiry) allows to define which account types will have an expiry date - e.g. full members don't have an expiry date, but trial members do.
10
11 A default expiry date can be defined - e.g. 90 days.
12
13 On creation of a new user with an account type that expires, an account expiry record is created in the background with the default account expiry date. This date can then be changed indivdually for each user, either on the account expiry page, or on the user edit page.
14
15 Changing an expiry date to a past date blocks a previously active user, changing an expiry date for a blocked user to a future date adtivates this user.
16
17 Once an expiry date for a user account has passed, the account is inactivated (blocked) by the next run of the cron job.
18
19
20 The pages you will need to visit to see/invoke all of the functionality are:
21
22 --site admin--
23
24 [admin/user/accounttypes - (provided by account types module) - Create and maintain Account Types]
25
26 admin/settings/account_expiry - define which account types have an expiry date, and the default number of days until expiry
27
28 admin/user/user/create - on creation of a new user with an account type that expires, an account expiry record is created in the background with the default account expiry date.
29
30 admin/user/user, "edit" a user with an expiring account type: On this page, the default expiry date can be modified individually for this user.
31
32 admin/user/account_expiry - this screen lists all users that have an account expiry date, with the option to change any of the expiry dates.
33
34
35 Test cases that this module has passed successfully:
36
37 * Create a new user w/ account type that does not expire, e.g. full member: no account expiry record is created.
38 * Create a new user w/ account type that expires, e.g. trial member: account expiry is set according to the defined default expiry days, record is shown on the account expiry screen.
39 * Change account type from full member to trial member - an account expiry record is created in the background
40 * Change account type from trial member to full member, for an active user: User is no longer shown on account expiry page.
41 * Delete a user that is a trial member
42 * Change Expiry Dates for Trial Members:
43 ** Change expiry for active user to any future date: account stays active
44 ** Change expiry for active user to past date: account becomes blocked
45 ** Change expiry for for blocked user to future date: account becomes active
46 ** change expiry for blocked user to past date: account stays blocked
47 * Ensure that accounts get blocked once expiry date has passed
48 * On the settings page: Change default days: no effect on current users, new default days are applied to new users with an expiring account type.
49
50 To Do:
51 * Notification emails to user and/or site administrator, a {configurable period} before expiry, and on expiry.
52 * Manage installation of the module on an existing site that already has users of an account type that gets an expiry date. Currently each of those users will need to be manually edited, to set an appropriate expiry date.
53 * Separate default expiry period per account type.
54 * Allow configuration of action to take on expiry: 'block user' or 'delete user' (?)

  ViewVC Help
Powered by ViewVC 1.1.2