Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRoleDependency ¶
type IRoleDependency interface {
InitializeRoles() error
}
type RoleDependency ¶
type RoleDependency struct {
Configuration RoleDependencyConfiguration
}
func NewRoleDependency ¶
func NewRoleDependency(configuration RoleDependencyConfiguration) *RoleDependency
func (*RoleDependency) InitializeRoles ¶
func (rd *RoleDependency) InitializeRoles() error
type UserRole ¶
type UserRole struct { gorm.Model Id primitive.ObjectID `bson:"_id" gorm:"serializer:json"` MysqlId uint `gorm:"primaryKey"` PostgresId uint `gorm:"primaryKey"` mr.MongoDbDatabaseObject `gorm:"serializer:json"` myr.MysqlDatabaseObject `gorm:"serializer:json"` pr.PostgresDatabaseObject `gorm:"serializer:json"` OwnerId primitive.ObjectID MysqlOwnerId uint PostgresOwnerId uint Names map[primitive.ObjectID]string `gorm:"serializer:json"` Sections []primitive.ObjectID `gorm:"serializer:json"` SiteMap permission.SiteMap `gorm:"serializer:json"` }
Click to show internal directories.
Click to hide internal directories.