808926b63e
Use typeahead for locale selector Fix onFilter of SelectControl rather than removing it Signed-off-by: John Gomersall <thegoms@gmail.com>
301 lines
No EOL
5.9 KiB
JSON
301 lines
No EOL
5.9 KiB
JSON
{
|
|
"attributes": [
|
|
{
|
|
"name": "username",
|
|
"displayName": "${username}",
|
|
"permissions": {
|
|
"view": [
|
|
"admin",
|
|
"user"
|
|
],
|
|
"edit": [
|
|
"admin",
|
|
"user"
|
|
]
|
|
},
|
|
"validations": {
|
|
"length": {
|
|
"min": 3,
|
|
"max": 255
|
|
},
|
|
"username-prohibited-characters": {},
|
|
"up-username-not-idn-homograph": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "email",
|
|
"displayName": "${email}",
|
|
"required": {
|
|
"roles": [
|
|
"user"
|
|
]
|
|
},
|
|
"permissions": {
|
|
"view": [
|
|
"admin",
|
|
"user"
|
|
],
|
|
"edit": [
|
|
"admin",
|
|
"user"
|
|
]
|
|
},
|
|
"validations": {
|
|
"email": {},
|
|
"length": {
|
|
"max": 255
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "firstName",
|
|
"displayName": "${firstName}",
|
|
"required": {
|
|
"roles": [
|
|
"user"
|
|
]
|
|
},
|
|
"permissions": {
|
|
"view": [
|
|
"admin",
|
|
"user"
|
|
],
|
|
"edit": [
|
|
"admin",
|
|
"user"
|
|
]
|
|
},
|
|
"validations": {
|
|
"length": {
|
|
"max": 255
|
|
},
|
|
"person-name-prohibited-characters": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "lastName",
|
|
"displayName": "${lastName}",
|
|
"required": {
|
|
"roles": [
|
|
"user"
|
|
]
|
|
},
|
|
"permissions": {
|
|
"view": [
|
|
"admin",
|
|
"user"
|
|
],
|
|
"edit": [
|
|
"admin",
|
|
"user"
|
|
]
|
|
},
|
|
"validations": {
|
|
"length": {
|
|
"max": 255
|
|
},
|
|
"person-name-prohibited-characters": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "select",
|
|
"displayName": "Select",
|
|
"selector": {
|
|
"scopes": [
|
|
"roles",
|
|
"offline_access",
|
|
"role_list",
|
|
"acr",
|
|
"address",
|
|
"microprofile-jwt",
|
|
"web-origins",
|
|
"profile",
|
|
"phone",
|
|
"email"
|
|
]
|
|
},
|
|
"permissions": {
|
|
"edit": [
|
|
"user"
|
|
],
|
|
"view": [
|
|
"user"
|
|
]
|
|
},
|
|
"annotations": {
|
|
"inputType": "select",
|
|
"inputHelperTextBefore": "This is helping a lot"
|
|
},
|
|
"validations": {
|
|
"options": {
|
|
"options": [
|
|
"one",
|
|
"two",
|
|
"three"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "hobbies",
|
|
"displayName": "",
|
|
"selector": {
|
|
"scopes": [
|
|
"roles",
|
|
"offline_access",
|
|
"role_list",
|
|
"acr",
|
|
"address",
|
|
"microprofile-jwt",
|
|
"web-origins",
|
|
"profile",
|
|
"phone",
|
|
"email"
|
|
]
|
|
},
|
|
"permissions": {
|
|
"edit": [
|
|
"user",
|
|
"admin"
|
|
],
|
|
"view": [
|
|
"user",
|
|
"admin"
|
|
]
|
|
},
|
|
"annotations": {
|
|
"inputType": "textarea"
|
|
},
|
|
"validations": {},
|
|
"group": "group"
|
|
},
|
|
{
|
|
"name": "email2",
|
|
"displayName": "Alternative email",
|
|
"required": {
|
|
"roles": [
|
|
"user"
|
|
],
|
|
"scopes": [
|
|
"roles",
|
|
"offline_access",
|
|
"role_list",
|
|
"acr",
|
|
"address",
|
|
"microprofile-jwt",
|
|
"web-origins",
|
|
"profile",
|
|
"phone",
|
|
"email"
|
|
]
|
|
},
|
|
"selector": {
|
|
"scopes": [
|
|
"roles",
|
|
"offline_access",
|
|
"role_list",
|
|
"acr",
|
|
"address",
|
|
"microprofile-jwt",
|
|
"web-origins",
|
|
"profile",
|
|
"phone",
|
|
"email"
|
|
]
|
|
},
|
|
"permissions": {
|
|
"edit": [
|
|
"admin",
|
|
"user"
|
|
],
|
|
"view": [
|
|
"admin",
|
|
"user"
|
|
]
|
|
},
|
|
"annotations": {
|
|
"inputType": "html5-email",
|
|
"inputHelperTextBefore": "${locale_es}",
|
|
"inputHelperTextAfter": "${locale_fr}",
|
|
"inputTypePlaceholder": "${locale_de}"
|
|
},
|
|
"validations": {
|
|
"email": {}
|
|
},
|
|
"group": "group"
|
|
},
|
|
{
|
|
"name": "alternatelang",
|
|
"displayName": "Alternate Language",
|
|
"validations": {
|
|
"options": {
|
|
"options": [
|
|
"ar",
|
|
"ca",
|
|
"cs",
|
|
"de",
|
|
"en",
|
|
"es",
|
|
"fr",
|
|
"hu",
|
|
"fa",
|
|
"it",
|
|
"ja",
|
|
"lt",
|
|
"nl",
|
|
"no",
|
|
"pl",
|
|
"pt",
|
|
"ru",
|
|
"sk",
|
|
"sv",
|
|
"th",
|
|
"tr",
|
|
"uk",
|
|
"zh",
|
|
"fi"
|
|
]
|
|
}
|
|
},
|
|
"annotations": {
|
|
"inputType": "select",
|
|
"inputOptionLabels": {
|
|
"ar": "${locale_ar}",
|
|
"ca": "${locale_ca}",
|
|
"cs": "${locale_cs}",
|
|
"de": "${locale_de}",
|
|
"en": "${locale_en}",
|
|
"es": "${locale_es}",
|
|
"fr": "${locale_fr}",
|
|
"hu": "${locale_hu}",
|
|
"fa": "${locale_fa}",
|
|
"it": "${locale_it}",
|
|
"ja": "${locale_ja}",
|
|
"lt": "${locale_lt}",
|
|
"nl": "${locale_nl}",
|
|
"no": "${locale_no}",
|
|
"pl": "${locale_pl}",
|
|
"pt": "${locale_pt}",
|
|
"ru": "${locale_ru}",
|
|
"sk": "${locale_sk}",
|
|
"sv": "${locale_sv}",
|
|
"th": "${locale_th}",
|
|
"tr": "${locale_tr}",
|
|
"uk": "${locale_uk}",
|
|
"zh": "${locale_zh}",
|
|
"fi": "${locale_fi}"
|
|
}
|
|
},
|
|
"permissions": { "view": ["admin", "user"], "edit": ["admin", "user"] },
|
|
"group": "group"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"annotations": {},
|
|
"displayDescription": "We want to be able to tell what kind of person you are please fill this out",
|
|
"displayHeader": "The Group",
|
|
"name": "group"
|
|
}
|
|
]
|
|
} |