mirror of
https://github.com/outbackdingo/databunker.git
synced 2026-01-27 10:18:45 +00:00
add default values
This commit is contained in:
@@ -3,9 +3,9 @@ generic:
|
||||
# allow to create user object without login
|
||||
create_user_without_access_token: true
|
||||
selfservice:
|
||||
# specifies if admin/DPO is required to approve user deletion
|
||||
# specifies if user can remove himself withour Admin/DPO approval (default false)
|
||||
forget_me: false
|
||||
# specifies if admin/DPO is required to approve user profile change
|
||||
# specifies if user can change his data without Admin/DPO approval (default false)
|
||||
user_record_change: true
|
||||
# specifies a list of app-data objects user can change without approval
|
||||
app_record_change: ["*"]
|
||||
|
||||
@@ -38,13 +38,13 @@ type dbcon struct {
|
||||
// Config is u sed to store application configuration
|
||||
type Config struct {
|
||||
Generic struct {
|
||||
CreateUserWithoutAccessToken bool `yaml:"create_user_without_access_token"`
|
||||
CreateUserWithoutAccessToken bool `yaml:"create_user_without_access_token" default:false`
|
||||
UserRecordSchema string `yaml:"user_record_schema"`
|
||||
AdminEmail string `yaml:"admin_email"`
|
||||
}
|
||||
SelfService struct {
|
||||
ForgetMe bool `yaml:"forget_me"`
|
||||
UserRecordChange bool `yaml:"user_record_change"`
|
||||
ForgetMe bool `yaml:"forget_me" default:false`
|
||||
UserRecordChange bool `yaml:"user_record_change" default:false`
|
||||
AppRecordChange []string `yaml:"app_record_change"`
|
||||
}
|
||||
Notification struct {
|
||||
|
||||
Reference in New Issue
Block a user