diff options
author | Evan Prodromou <evan@status.net> | 2010-10-22 10:31:50 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-22 10:31:50 -0400 |
commit | 1d85bfece1ac3d6de3b4c350cbb617982e9d8638 (patch) | |
tree | 3b9df10270e3bd6662528e8b90f3102f41cd4afa /EVENTS.txt | |
parent | 07bc50eaedd262573bf1560b075670d803e17a63 (diff) |
New events when granting and revoking roles
Four new events for when roles are granted or revoked.
Diffstat (limited to 'EVENTS.txt')
-rw-r--r-- | EVENTS.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/EVENTS.txt b/EVENTS.txt index e5cafa857..8e730945a 100644 --- a/EVENTS.txt +++ b/EVENTS.txt @@ -1142,3 +1142,19 @@ StartShowNoticeForm: before showing the notice form (before <form>) EndShowNoticeForm: after showing the notice form (after <form>) - $action: action being executed + +StartGrantRole: when a role is being assigned +- $profile: profile that will have the role +- $role: string name of the role + +EndGrantRole: when a role has been successfully assigned +- $profile: profile that will have the role +- $role: string name of the role + +StartRevokeRole: when a role is being revoked +- $profile: profile that will lose the role +- $role: string name of the role + +EndRevokeRole: when a role has been revoked +- $profile: profile that lost the role +- $role: string name of the role |