User Authorization Types
Each user that is created exists as a record in the EPUsers table. One of the columns in that table is UserAuthorizationType. This stores the user’s authorization type as determined by the admin. This value is used to group users into categories. The admin can then grant or restrict access to various webpages on the site based on these categories.
There are two main categories for these types: Customer and Internal.
Customer types will exist under an account that can be used to retrieve prices and create orders. This account is a valid address book number in JDE.
Internal types exist under an internal account that cannot retrieve prices or create orders on their own. These users are intended to be admins, IT personnel, customer service reps, marketing personnel, etc. These users can change aspects of the site, like marketing carousels or active promotions, for the customer type users.
Base User Authorization Types
User Authorization types can be edited based on client needs, but there are default types that are build into base EASYCommerce.
User Authorization Type
Consumer - B2C
Customer : Accounts Payable
Customer : Basic Access
Customer : EASYPay
Customer : Full Access
Customer : Order Entry
Customer : Self-Service
Internal : Administrator
Internal : AR
Internal : Customer Service
Internal : EASYPay Account
Internal : EASYPayAdmin
Internal : IT
Internal : Management
Internal : Marketing
Internal : Sales Representative
The admin of the site has access to two pages: Work with Customer Roles and Work with Internal Roles. These pages allow the admin to view the current access for each of the defined user authorization types.
From these pages the admin can view all the webpages that are available through the site menu that the user could possibly see. The admin can then check or uncheck the pages to control the user authorization type’s access to the corresponding pages.
The pages available to Customer type users is different from the pages for Internal users. This is because there are two different menus maintained in EASYProcess. A menu is an entity which is used as container for all the WebPages that will display. This categorizes WebPages into categories of who should see them. The menu has categories just like the users: Customer and Internal.
When a new webpage is made, the developer must know who the user of this webpage will be and assign it to exist under one of the menu categories. Once a webpage is defined under a menu, the admin will see it in “Work with Customer/Internal Roles” (the list of pages to give access to).
The “Work with Customer/Internal Roles” page in the Admin panel (the list of pages to give access to) will be a list of all the pages that exist under the menu. For an internal user authorization type, this will be a list of all the pages under the Internal menu. For a Customer user authorization type, this will be a list of all the pages under the Customer menu.