Adds role 'Default role' to the user if it is not already present. Only admin can set admin account.
Nazwa parametru | Opis |
---|---|
id wymagany |
Validations:
|
user wymagany |
Validations:
|
user[login] opcjonalny |
Validations:
|
user[firstname] opcjonalny , nil dopuszczalny |
Validations:
|
user[lastname] opcjonalny , nil dopuszczalny |
Validations:
|
user[mail] opcjonalny |
Validations:
|
user[admin] opcjonalny |
Is an admin account? Validations:
|
user[password] opcjonalny |
Validations:
|