Permissions & Restrictions: Role Restrictions
Role restriction matrices by module
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 gbrolerestrictions. 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
Fleet / Card Services
Fleet / Controls
Fleet / Payments
Packaging / Employees
Users / Details
- Password Expiry Days (field) — If restrictiontype = 'display-only', the field name and field will be read only. By default the Users / Details tab is only visible to 'admin' role users. gb users details gbusepasswordexpirydays displayonly
System / Roles
Useful SQL
Run this SQL to show all Role Restriction records in your database.
SELECT t2.name, t1.*FROM gb_role_restrictions t1INNER JOIN gb_roles t2 ON t2.role_id = t1.role_idWHERE t1.module IN ('qt','fm','gb','gl','bk','rp','sp')AND t1.page LIKE '%%' -- module descriptionAND t1.sub_page LIKE '%%' -- tab nameAND t1.type LIKE '%%' -- type of restrictionAND t1.name LIKE '%%' -- field nameAND t1.restriction_type LIKE '%%' -- display_only, hidden etcAND t1.bit_array LIKE '%%' -- for Menu configurationAND t1.conditions LIKE '%%' -- for restriction conditionsAND t2.name LIKE '%%' -- Role NameORDER BY t2.name, t1.page, t1.name;Clients
Clients
| Client tabs | type = subpagemap, restrictiontype = bitarray | The client tabs that are accessed by roles can be configured by updating the bit array. By default, the Cost Centre and Other tabs are hidden. Note: The Clients / Other tab will not be available to external users, regardless of the bit_array setting entered here.
SELECT * FROM gb_role_restrictions WHERE page = 'clients' AND type = 'sub_page_map' ORDER BY role_id;|
Contact
MLA
Quote Defaults
- Luxury Charge Event — If restrictiontype = 'display-only', the field will be displayed, but is not editable. fmcliluxurychargeeventflag
- Novated Management Fee fmclinovatedmanagementfee
- Payroll Date — If restrictiontype = 'display-only', the field will be displayed, but is not editable. fmclipayrolldate
- Allow Operating FBT Type — If restrictiontype = 'display-only', the field will be displayed, but is not editable. If restrictiontype = 'hidden', the field name and field will be hidden. fmcliallowoperatingfbttypeflag
- Financier qtclidsupplieridfinancier
- Agreed Lessee Rate — If restrictiontype = 'display-only', the field will be displayed, but is not editable. fmcliagreedlessee_rate
- Management Fee qtclidmanagement_fee
- Novated Commission Rate qtclidnovatedcommissionrate
- Pay Cycle — If restrictiontype = 'display-only', the field will be displayed, but is not editable fmclipaycycle_id
- Payroll Date — If restrictiontype = 'display-only', the field will be displayed, but is not editable. fmclipayrolldate
- Pay Cycle 2 — If restrictiontype = 'display-only', the field will be displayed, but is not editable fmclipaycycle_id2
- Payroll Date 2 — If restrictiontype = 'display-only', the field will be displayed, but is not editable. fmclipayrolldate2
- Pay Cycle 3 — If restrictiontype = 'display-only', the field will be displayed, but is not editable fmclipaycycle_id3
- Payroll Date 3 — If restrictiontype = 'display-only', the field will be displayed, but is not editable. fmclipayrolldate3
- Payroll Cut Off Days — If restrictiontype = 'display-only', the field will be displayed, but is not editable fmclipayrollcutoffdays