MSP-2243 add audit_event repository
This commit is contained in:
1 parent
b2305c0f12
commit
7b5e1362be
2 files changed
+104
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package entity
|
||||
|
||||
const (
|
||||
EventSuccessLogin = "success_login"
|
||||
EventErrorLogin = "error_login"
|
||||
EventSuccessLogout = "success_logout"
|
||||
EventRoleChanged = "role_changed"
|
||||
EventUserChanged = "user_changed"
|
||||
)
|
||||
|
||||
type AuditEvent struct {
|
||||
Event string
|
||||
Enable bool
|
||||
}
|
||||
Reference in new issue
Block a user