mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 20:26:26 +08:00
add(interface): driver&mamage
This commit is contained in:
14
layers/user/object.go
Normal file
14
layers/user/object.go
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
package user
|
||||||
|
|
||||||
|
type UserInfo struct {
|
||||||
|
uuid string // 用户UUID
|
||||||
|
name string // 用户名称
|
||||||
|
flag bool // 是否有效
|
||||||
|
perm PermInfo // 权限信息
|
||||||
|
}
|
||||||
|
|
||||||
|
type PermInfo struct {
|
||||||
|
isAdmin bool // 是否管理员
|
||||||
|
davRead bool // 是否允许读
|
||||||
|
// ...
|
||||||
|
}
|
Reference in New Issue
Block a user