summaryrefslogtreecommitdiff
path: root/EVENTS.txt
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-09 17:43:37 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-09 17:43:37 -0500
commit3be120571446880cb71a57845204b3213e6df67e (patch)
tree1699a4cb46af0e7b8a1edcd009f9554893668e85 /EVENTS.txt
parent22310d17a4886d5382832caee43da0bcf7914419 (diff)
Add a new event: CanUserChangeField
Diffstat (limited to 'EVENTS.txt')
-rw-r--r--EVENTS.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/EVENTS.txt b/EVENTS.txt
index 25a51516b..c3fe73134 100644
--- a/EVENTS.txt
+++ b/EVENTS.txt
@@ -489,6 +489,10 @@ ChangePassword: Handle a password change request
- $newpassword: the desired new password
- &$errormsg: set this to an error message if the password could not be changed. If the password was changed, leave this as false
+CanUserChangeField: Determines if a user is allowed to change a specific profile field
+- $nickname: nickname of the user who would like to know which of their profile fields are mutable
+- $field: name of the field the user wants to change (nickname, fullname, password, avatar, etc)
+
UserDeleteRelated: Specify additional tables to delete entries from when deleting users
- $user: User object
- &$related: array of DB_DataObject class names to delete entries on matching user_id.