Users and Permissions¶
Definition¶
A registered user should at least have the following elements:
- Salutation
- First Name
- Last Name
- Mobile Number
- Password
The following elements are optional:
- Nationality
- Country of Residence
- Occupation
- Job Level
- Date of birth
The following elements are derivated from the previous ones or from the actions of the user:
- is buyer
- is seller
The following elements are derivated from the previous ones or from the actions of the user:
- password
Users¶
Type of users:
- Administrator
- User
- Shareholder
- Employee
- Representative
Details¶
Administrator¶
An administrator is a User from BXB. User with Administrator rights has all permissions on the platform.
User¶
A user is a user registered on the platform. It can be a seller, a buyer, a shareholder, an employee or a representative if its linked to a company or it can be link to no companies.
Seller¶
Seller is not a status or defined in the system, it is defined by the actions of the user: A seller is a user that has created a listing.
Buyer¶
Buyer is not a status or defined in the system, it is defined by the actions of the user: A buyer is a user that has created a transaction.
Shareholder¶
A shareholder is a user with a special link to a company, as it can modify anything in the profile of the company and create a listing.
Representative¶
A representative is a user which can represent a company and can create a listing on their behalf.
Employee¶
An employee is a user which is in employee of a company.
Anonymous User¶
An anonymous user is a user that is not registered on the platform.
Permissions¶
We are going to split the permissions in topics.
Company Matrix¶
Shareholder, representative, employee represent an active relation towards the company
| Permission | Administrator | User - Shareholder | User - Representative | User - Employee | User - No Relations | Anonymous User |
|---|---|---|---|---|---|---|
| Can create | Y | Y | Y | Y | Y | N |
| Can view company | Y | Y | Y | Y | N | N |
| Can edit company | Y | Y | N | N | N | N |
Note: the list of companies view should represent all companies linked to the user.
Authentication¶
Users are going to authenticate using their email and password on auth.bxb.world