Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
ID uint `json:"-" gorm:"primary_key;"`
AllowUnauthenticatedUsers *bool `json:"allow_unauthenticated_users" gorm:"not null;default:true"`
AllowChangingUsernamesAndPasswords *bool `json:"allow_changing_usernames_and_passwords" gorm:"not null;default:false"`
AllowRedTeamLaunchingServiceTestsManually *bool `json:"allow_red_team_launching_service_tests_manually" gorm:"not null;default:false"`
ShowPoints *bool `json:"allow_to_see_points" gorm:"not null;default:true"`
ShowAddresses *bool `json:"show_addresses" gorm:"not null;default:true"`
}
Policy is a set of dynamic values that could be edited in runtime. Policy is typically propagated between scoretrak instances via pkg/policy/policyclient
Click to show internal directories.
Click to hide internal directories.