Vridlo/types/User: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Account''' is a structure that represents Account model. It can be a user of a group. It is described as: * '''names''' is ''Name array '''mandatory''...")
 
No edit summary
Line 1: Line 1:
'''Account''' is a structure that represents Account model. It can be a user of a group. It is described as:
'''Account''' is a structure that represents Account model. It can be a user of a group. It is described as:


* '''id''' is ''natural '''mandatory read-only'''''
Unique identifier of account.
* '''names''' is ''[[Vridlo/type/Name|Name]] array '''mandatory'''''
* '''names''' is ''[[Vridlo/type/Name|Name]] array '''mandatory'''''
  Name array for the user. It can include first name, last name, nickname, or title.
  Name array for the account. It can include first name, last name, nickname, or title.
* '''permissions''' is ''[[Vridlo/type/Permission|Permission]] array '''mandatory'''''
* '''permissions''' is ''[[Vridlo/type/Permission|Permission]] array '''mandatory'''''
  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/type/Lorem|Lorem]] array '''optional'''''
* '''descriptions''' is ''[[Vridlo/type/Lorem|Lorem]] array '''optional'''''
  Descriptions array of the user, which defined as array of [[Vridlo/type/Lorem|Lorems]].
  Descriptions array of the user, which defined as array of [[Vridlo/type/Lorem|Lorems]].
* '''recitals''' is ''array of [[Vridlo/type/Recital|Recital]]'' (Mandatory)
* '''recitals''' is ''[[Vridlo/type/Recital|Recital]] array '''mandatory'''''
  Recitals array for the user or group, it defines all of user or group logins, email, jabber addresses etc.
  Recitals array for the user or group, it defines all of user or group logins, 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.

Revision as of 13:51, 5 December 2019

Account is a structure that represents Account model. It can be a user of a group. 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.
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 defined as array of Lorems.
  • recitals is Recital array mandatory
Recitals array for the user or group, it defines all of user or group logins, 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.