- password with confirmation on create, optional reset on update that ends the user's sessions; the hash is never returned - send_invite sends one invitation with an activation link after the create commits - organisation picker, avatar upload shared with the user API and the frontend permission editor on the user form - an email held by a deactivated user answers 422 instead of failing on the unique constraint - the privileged-member guard now also refuses a submitted password
70 lines
2.1 KiB
YAML
70 lines
2.1 KiB
YAML
fields:
|
|
name:
|
|
label: golem15.user::lang.user.name
|
|
type: text
|
|
span: left
|
|
tab: golem15.user::lang.user.account
|
|
surname:
|
|
label: golem15.user::lang.user.surname
|
|
type: text
|
|
span: right
|
|
tab: golem15.user::lang.user.account
|
|
email:
|
|
label: golem15.user::lang.user.email
|
|
type: text
|
|
span: full
|
|
tab: golem15.user::lang.user.account
|
|
send_invite:
|
|
label: golem15.user::lang.user.send_invite
|
|
comment: golem15.user::lang.user.send_invite_comment
|
|
type: checkbox
|
|
default: true
|
|
tab: golem15.user::lang.user.account
|
|
context: create
|
|
password:
|
|
label: golem15.user::lang.user.password
|
|
comment: golem15.user::lang.user.password_comment
|
|
type: password
|
|
span: left
|
|
tab: golem15.user::lang.user.account
|
|
context: [create, update]
|
|
password_confirmation:
|
|
label: golem15.user::lang.user.confirm_password
|
|
comment: golem15.user::lang.user.confirm_password_comment
|
|
type: password
|
|
span: right
|
|
tab: golem15.user::lang.user.account
|
|
context: [create, update]
|
|
organisation:
|
|
label: golem15.user::lang.organisation.label
|
|
type: relation
|
|
nameFrom: name
|
|
span: full
|
|
emptyOption: golem15.user::lang.organisation.empty_organisation
|
|
tab: golem15.user::lang.user.account
|
|
avatar:
|
|
label: golem15.user::lang.user.avatar
|
|
type: fileupload
|
|
mode: image
|
|
imageWidth: 260
|
|
imageHeight: 260
|
|
tab: golem15.user::lang.user.account
|
|
created_ip_address:
|
|
label: golem15.user::lang.user.created_ip_address
|
|
type: text
|
|
span: left
|
|
tab: golem15.user::lang.user.account
|
|
context: preview
|
|
last_ip_address:
|
|
label: golem15.user::lang.user.last_ip_address
|
|
type: text
|
|
span: right
|
|
tab: golem15.user::lang.user.account
|
|
context: preview
|
|
permissions:
|
|
type: permissioneditor
|
|
mode: radio
|
|
span: full
|
|
tab: golem15.user::lang.user.permissions_tab
|
|
context: update
|