diff options
author | marvin-borner@live.com | 2018-04-16 21:09:05 +0200 |
---|---|---|
committer | marvin-borner@live.com | 2018-04-16 21:09:05 +0200 |
commit | cf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch) | |
tree | 86700651aa180026e89a66064b0364b1e4346f3f /main/app/sprinkles/admin/schema/requests/user/edit-field.yaml | |
parent | 619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff) |
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'main/app/sprinkles/admin/schema/requests/user/edit-field.yaml')
-rwxr-xr-x | main/app/sprinkles/admin/schema/requests/user/edit-field.yaml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/main/app/sprinkles/admin/schema/requests/user/edit-field.yaml b/main/app/sprinkles/admin/schema/requests/user/edit-field.yaml new file mode 100755 index 0000000..ab3b3aa --- /dev/null +++ b/main/app/sprinkles/admin/schema/requests/user/edit-field.yaml @@ -0,0 +1,60 @@ +--- +first_name: + validators: + length: + label: "&FIRST_NAME" + min: 1 + max: 20 + message: VALIDATE.LENGTH_RANGE +last_name: + validators: + length: + label: "&LAST_NAME" + min: 1 + max: 30 + message: VALIDATE.LENGTH_RANGE +email: + validators: + length: + label: "&EMAIL" + min: 1 + max: 150 + message: VALIDATE.LENGTH_RANGE + email: + message: VALIDATE.INVALID_EMAIL +locale: + validators: + length: + label: "&LOCALE" + min: 1 + max: 10 + message: VALIDATE.LENGTH_RANGE +group_id: + validators: + integer: + message: VALIDATE.INTEGER +flag_enabled: + validators: + member_of: + values: + - '0' + - '1' + message: VALIDATE.BOOLEAN +flag_verified: + validators: + member_of: + values: + - '0' + - '1' + message: VALIDATE.BOOLEAN +password: + validators: + length: + label: "&PASSWORD" + min: 12 + max: 100 + message: VALIDATE.LENGTH_RANGE +roles: + validators: + array: + message: VALIDATE.ARRAY |