-
Notifications
You must be signed in to change notification settings - Fork 46
/
events.go
29 lines (27 loc) · 1.21 KB
/
events.go
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
package types
// Subspaces module event types
const (
EventTypeCreateSubspace = "create_subspace"
EventTypeEditSubspace = "edit_subspace"
EventTypeDeleteSubspace = "delete_subspace"
EventTypeCreateSection = "create_section"
EventTypeEditSection = "edit_section"
EventTypeMoveSection = "move_section"
EventTypeDeleteSection = "delete_section"
EventTypeCreateUserGroup = "create_user_group"
EventTypeEditUserGroup = "edit_user_group"
EvenTypeMoveUserGroup = "move_user_group"
EventTypeSetUserGroupPermissions = "set_user_group_permissions"
EventTypeDeleteUserGroup = "delete_user_group"
EventTypeAddUserToGroup = "add_group_member"
EventTypeRemoveUserFromGroup = "remove_group_member"
EventTypeSetUserPermissions = "set_user_permissions"
AttributeValueCategory = ModuleName
AttributeKeySubspaceID = "subspace_id"
AttributeKeySubspaceName = "subspace_name"
AttributeKeySubspaceCreator = "subspace_creator"
AttributeKeyCreationTime = "creation_date"
AttributeKeySectionID = "section_id"
AttributeKeyUserGroupID = "user_group_id"
AttributeKeyUser = "user"
)