Security And User Roles
From UG
(→Parent Mantis) |
|||
Line 4: | Line 4: | ||
=== Parent Mantis === | === Parent Mantis === | ||
- | [http://mantis.jaguarfreight.com/mantis/view.php?id=607 | + | [http://mantis.jaguarfreight.com/mantis/view.php?id=607 0000607: (Security Framework/User Access) .......] |
=== Scope of this wiki === | === Scope of this wiki === |
Revision as of 20:21, 1 December 2011
Contents |
Info
Parent Mantis
0000607: (Security Framework/User Access) .......
Scope of this wiki
This covers our security framework/user access admin.
Core Business Need
System needs to have different levels of access. (As any system of this scale).
Business Requirements
BR Version 1.0
- Each jaguar user should be of one access type. This type controls what resources (components, etc) and features user can use. For example "Basic Ops" can not access accounting module.
- Types we need:
- Basic Ops
- Super Ops
- Basic Acc
- Super Acc
- Management
- Sales
- Blank 1
- Blank 2
- Some of the Access Options we need (not a full list):
- Ops Home (access to)
- Admin Home
- Acc Home
- CT Rights Administration
- Delete saved documents
- Typical access options would be to allow to click on a button and proceed to a homepage of a component (example: Acc button on CT2 homepage). If user does not have enough rights then system could show pop-up stating that user has no access. Or we could simply hide that button.
- One design option would be to present a table - see #Figure 1: UI
Please note that above Biz Reqs has been implemented.
BR Version 2.0
Managing access types should be through admin
Instead of hard coded "blank1", "blank2" user types we need ability to create/delete/edit as many as we wish through admin.
Superuser
We probably need to add hard coded "superuser level" that can do anything. This uname/password can not be editable through the systems UI. And it can not be deleted through the system.
New access options: per tab
System should be able to block access not only to buttons but tabs as well
Per form control
In the future we will need to create CT2 sub systems - limited versions of CT2 (with just limited functionality available). Example: trucker user would need to be able to create CT and edit/view of 40% of fields, only on Gen Tab. Ideally we would like to make it configurable through admin (vs making them hard coded).
Super configurable option
- List as many options as possible in access table (all CT2 sections, sub sections, all tabs, all fields on CT profile)
- implement this only if feasible / possible
Comments from Systems Analyst
- Superuser requirements: please research alternatives and make a decision what to use, for example "Linux root approach".
- UI design: use usual "modal window approach" if possible
- first create #Preliminary Design / Prototype and review with me;
- create UI prototype in Paint or use any other tool/approach
--Alex 20:55, 29 January 2010 (UTC)
Figures
Figure 1: UI
SOW 1
0002971: [Intl Portal] (ph2) User's access permissions (UAP) Core (Core functionality and Admin Console)
History
This doc has been created
--Alex 18:42, 19 January 2010 (UTC)
Re-design: Managing access types should be through admin; new access options: per tab, per form control
--Alex 18:39, 19 January 2010 (UTC)
- mantis: http://mantis.jaguarfreight.com/mantis/view.php?id=1690
- Biz Req updated? Y see #BR Version 2.0
- Tech Spec updated? N
m902
- Add the following options:
- Address book (every tab - separate access option)
- Reports (every report category [see m1873] - separate access option)
- Admin > Users (every tab - separate access option)
- Admin > Client Companies (every tab - separate access option)
0002418: [EDI to TMS] (Client App Admin) (TMS Tab) Add TMS tab with config options
User Guide
User Guide Status and SOW covered
Up to date = Yes. Covered: #SOW1.
Menu
New Security item added to Admin menu:
Admin > Security > User roles
User role manager
User roles (types) can be added.
Each menu item / feature can be added or removed from access list for specific role.
Each user can have multiple roles.
See example of "Report user":
Technical Note: --------------- Authorization system is implemented using Spring Framework. Secured action set is configurable from XML configuration file