Permissions

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

 Function (e.g.

Users, Admins, Companies);


 Actions (CRUD);
 Relations Company ↔︎Company;
 Relations Company ↔︎Agent(s).

Actions
All options may be divided by ‘full granularity’, ‘ability groups’ and ‘genres’

Note: full granularity is best implemented with checkboxes, while dropdowns are more suitable for ability
groups and genres.
Same columns for Admin with a similar to an ability groups approach:
 Full access
 View
 Manage (CRUD)
 Blocked
 TBD

Admins
1. Create one permission page or add ‘Permission’ button on each page: Users, Admins, Companies,
which can lead to connected page or popup.
2. Create unique permission matrix for each page (popup shown, might be implemented as a page).

Pic.3

Super Admin active checkbox provides automatically full access to all pages. If one dropdown is changed
from ‘full access’ to another option, then super admin checkbox deactivates. ‘Please select’ is set by default
in each dropdown. General button might be implemented i.e. set ‘Read’ for all dropdowns. Changes can be
saved or canceled.
There is also hybrid matrix, may be less understandable by user.

Company ↔︎Company

1. Implement in popup or a page in a company page


2. User clicks on ‘Permission’ button and permission matrix is opened.

3. If a Company can have several permissions to different companies, how it should be handled on the
permission matrix? First example shows line created for ‘1 Truck Insurance’ with permissions to
Company1 and Company2. Second example shows one permission per line.
4. To which entities should the system provide permissions and what options should be used in that
case?
5. Implement role-based control, which will define all actions with one selected option in a dropdown.

? Create all permission in one row or create new row for each new permission? Number of entities?
Number of options same as for Admin?
Company ↔︎Agent(s)
1. Users page with the same logic as a Company. Agent to a Company relation

2. Permission page is opened for the Users.

This matrix provides Agent to Company relations, entities and options are TBD.

Decide how to Implement Company to Agent relation (on company page?). Relation to an Agent can be
chosen on the matrix between Company and Agent or implement two tables on Company Permissions
page: first Company to Company, second Company to an Agent.
Different page option

1. Implement permissions on different page in the Admin panel;

2. Clicking on ‘Add Permission’ button opens popup/ uploads new page/ creates new row in
permissions table, where user can set all necessary permissions.
3. Admin page may be implemented in a form of table (See pic 3)
4. Possible page look, lacks searchbar and edit on mockup.

Possible mention: implement ‘genres’ (roles), though may be not enough self-explanatory.

You might also like