优化结构
This commit is contained in:
@@ -5,6 +5,11 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// SuperAdminAuthorityID is the seeded super-administrator role created by the
|
||||
// bootstrap data in internal/data/system/seed.go. It is the fallback authority
|
||||
// for new users and the recipient group for system-wide alerts.
|
||||
const SuperAdminAuthorityID uint = 888
|
||||
|
||||
type AuthorityAccessRepo interface {
|
||||
CreateAuthority(context.Context, *Authority) error
|
||||
CopyAuthority(context.Context, uint, *Authority) error
|
||||
|
||||
Reference in New Issue
Block a user