Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role interface { List() (roles []*mo_adminrole.Role, err error) UpdateRole(user mo_user.UserSelector, roleIds []string) (roles []*mo_adminrole.Role, err error) }
func New ¶
func New(ctx dbx_context.Context) Role
type RoleUpdate ¶
type RoleUpdate struct { User mo_user.UserSelector `json:"user"` NewRoles []string `json:"new_roles"` }
Click to show internal directories.
Click to hide internal directories.