-
Notifications
You must be signed in to change notification settings - Fork 0
/
eventListener.xml
56 lines (52 loc) · 2.74 KB
/
eventListener.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/eventListener.xsd">
<import>
<!-- User add -->
<eventlistener name="usermapUserAddAdmin">
<eventclassname>wcf\acp\form\UserAddForm</eventclassname>
<eventname>saved</eventname>
<environment>admin</environment>
<listenerclassname>usermap\system\event\listener\UserAddListener</listenerclassname>
</eventlistener>
<eventlistener name="usermapUserAddUser">
<eventclassname>wcf\form\RegisterForm</eventclassname>
<eventname>saved</eventname>
<environment>user</environment>
<listenerclassname>usermap\system\event\listener\UserAddListener</listenerclassname>
</eventlistener>
<!-- User update -->
<eventlistener name="usermapUserAdmin">
<eventclassname>wcf\data\user\UserAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>admin</environment>
<listenerclassname>usermap\system\event\listener\UserActionListener</listenerclassname>
</eventlistener>
<eventlistener name="usermapUserUser">
<eventclassname>wcf\data\user\UserAction</eventclassname>
<eventname>finalizeAction</eventname>
<environment>user</environment>
<listenerclassname>usermap\system\event\listener\UserActionListener</listenerclassname>
</eventlistener>
<!-- User group configuration -->
<eventlistener name="userGroupAddUsermap">
<eventclassname>wcf\acp\form\UserGroupAddForm</eventclassname>
<eventname>assignVariables,readFormParameters,save,validate</eventname>
<listenerclassname>usermap\system\event\listener\UserGroupListener</listenerclassname>
<inherit>1</inherit>
<environment>admin</environment>
</eventlistener>
<eventlistener name="userGroupEditUsermap">
<eventclassname>wcf\acp\form\UserGroupEditForm</eventclassname>
<eventname>readData</eventname>
<listenerclassname>usermap\system\event\listener\UserGroupListener</listenerclassname>
<environment>admin</environment>
</eventlistener>
<!-- GDPR -->
<eventlistener name="usermapGdprExport">
<eventclassname>wcf\acp\action\UserExportGdprAction</eventclassname>
<eventname>export</eventname>
<listenerclassname>usermap\system\event\listener\UserDataExportListener</listenerclassname>
<environment>admin</environment>
</eventlistener>
</import>
</data>