forked from ebhomengo/niki
1
0
Fork 0
niki/entity/admin_access_control.go

16 lines
272 B
Go

package entity
type AdminAccessControl struct {
ID uint
ActorID uint
ActorType AdminActorType
Permission AdminPermission
}
type AdminActorType string
const (
AdminRoleActorType = AdminActorType("role")
AdminAdminActorType = AdminActorType("admin")
)