Vridlo/types/User: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
Defines permissions for the account, permissions include the admin, or any other write permission to a model. | Defines permissions for the account, permissions include the admin, or any other write permission to a model. | ||
* '''descriptions''' is ''[[Vridlo/types/Lorem|Lorem]] array '''optional''''' | * '''descriptions''' is ''[[Vridlo/types/Lorem|Lorem]] array '''optional''''' | ||
Descriptions array of the user, which defined as array of [[Vridlo/types/Lorem|Lorems]]. | Descriptions array of the user, which is defined as array of [[Vridlo/types/Lorem|Lorems]]. | ||
* '''recitals''' is ''[[Vridlo/types/Recital|Recital]] array '''mandatory''''' | * '''recitals''' is ''[[Vridlo/types/Recital|Recital]] array '''mandatory''''' | ||
Recitals array for the user | Recitals array for the user, it describes all of userlogins, email, jabber addresses etc. | ||
* '''sign_in_count''' is ''positive '''mandatory read-only''''' | * '''sign_in_count''' is ''positive '''mandatory read-only''''' | ||
Unique identifier of account. | Unique identifier of account. |
Revision as of 17:51, 5 December 2019
User is a structure that represents User model. It is described as:
- id is natural mandatory read-only
Unique identifier of account.
- names is Name array mandatory
Name array for the account. It can include first name, last name, nickname, or title.
- permissions is Permission array mandatory
Defines permissions for the account, permissions include the admin, or any other write permission to a model.
- descriptions is Lorem array optional
Descriptions array of the user, which is defined as array of Lorems.
- recitals is Recital array mandatory
Recitals array for the user, it describes all of userlogins, email, jabber addresses etc.
- sign_in_count is positive mandatory read-only
Unique identifier of account.
- current_sign_in_at is datetime mandatory read-only
Current signed in as datetime. Can be blank, when user have signed in less than once.
- last_sign_in_at is datetime mandatory read-only
Last time signed in as datetime. Can be blank, when user have signed in less than two times.
- confirmed is boolean mandatory read-only
Confirmed account state.