Account
A BIM.works user identified by an e-mail address. An account owns a root node, a Demo folder with a demo API token, an actions folder and a set of enabled features.
An account is created by self-registration (when the instance allows it), by accepting an invite into an Organisation, or by the Superadmin. The username is the e-mail address in lower case. Registration creates, in one go, the account's root Node (named after the username), a Demo folder with the demo models, a "Demo API Token" that sees only that folder, a personal folder in the Actions tree and a feature set copied from the organisation's or the instance's defaults.
Logging in with a username and password produces an Auth token that is valid for seven days (ninety with "remember me"). Where the instance allows signing in with a code sent by e-mail, "remember me" after a code lasts thirty days (sign_in.email_code.remember_validity), so the address is confirmed again once a month. Two-factor authentication can be allowed or required per instance. Integrations do not log in with a password; they use an API token.
There are two account types: regular users and super admins. Nothing else is a role: an account's reach is its node subtree, its organisation's shared node, and the features enabled for it.