Role Restrictions
Role Restrictions
Role restrictions allow control over which menu items and fields a particular role can see or use.
Menu items can be set to be visible and accessible, or are hidden. Go to the System Menus page for details of what can be configured for menus.
Selected fields can be restricted to be 'Read Only' or 'Hidden' if required and details are listed below. The list is not a definitive list of all fields governed by gb_role_restrictions. Your Account Manager can assist you if you want to modify access to system fields.
A number of fields in the Quotes, Contracts and Clients modules are set to 'Read Only' for the Channel Manager role to restrict their ability to change settings.
Bespoke fields use a different configuration for setting up role restrictions. Visit Bespoke Role Restrictions for details.
Field Settings
Fleet Administration: Approvals
Fleet Administration: Suppliers
Account
Events
Franchise Details
Fleet Card Services
Cards
Fleet Controls
Maintenance / VMRS Codes
Accounts / Contract Types: Details
Accounts / Posting Classes: Details
Fleet Payments
Periodic
Salary Packaging: Employees
Item
Contact
Users: Details
System: Roles
Roles / Details
Useful SQL
Run this SQL to show all Role Restriction records in your database.
SELECT t2.name, t1.* FROM gb_role_restrictions t1 INNER JOIN gb_roles t2 ON t2.role_id = t1.role_id WHERE t1.module IN ('qt','fm','gb','gl','bk','rp','sp') AND t1.page LIKE '%%' -- module description AND t1.sub_page LIKE '%%' -- tab name AND t1.type LIKE '%%' -- type of restriction AND t1.name LIKE '%%' -- field name AND t1.restriction_type LIKE '%%' -- display_only, hidden etc AND t1.bit_array LIKE '%%' -- for Menu configuration AND t1.conditions LIKE '%%' -- for restriction conditions AND t2.name LIKE '%%' -- Role Name ORDER BY t2.name, t1.page, t1.name; Clients
Client Tabs
View Client Tab Configuration SQL
SELECT * FROM gb_role_restrictions WHERE page = 'clients' AND type = 'sub_page_map' ORDER BY role_id;