package
Version:
v0.0.0-...-8a398ea
Opens a new window with list of versions in this module.
Published: Dec 17, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type EditRequest struct {
ID string `json:"-"`
Password string `json:"password"`
UILanguage string `json:"ui_language"`
UIGroupsNavigationType string `json:"ui_groups_navigation_type"`
UITheme string `json:"ui_theme"`
DefaultView string `json:"defaultview"`
UITours map[string]bool `json:"ui_tours"`
Author string `json:"author" swaggerignore:"true"`
}
type User struct {
user.User `bson:",inline"`
Permissions []role.Permission `bson:"permissions" json:"permissions"`
UITours map[string]bool `bson:"ui_tours" json:"ui_tours"`
}
type Validator interface {
ValidateEditRequest(ctx context.Context, sl validator.StructLevel)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.