How to Configure Role Access Update in iDempiere

The Role Access Update window in iDempiere rebuilds access records that control which windows, forms, processes and reports a role can open. Running it correctly prevents staff from seeing broken menus or missing functions during store operations.

Process Flow

TenthPlanet iDempiere RoleAccessUpdate

Business Rules

  • Roles marked as Manual access are skipped entirely; the process makes no changes for them.
  • Selecting a specific Role updates access records for that role only.
  • Leaving Role blank updates every active role in the current tenant.
  • Running from the System tenant with no Role selected updates all tenants.
  • Reset Existing Access deletes and rebuilds all access records before inserting new ones.
  • Leaving Reset Existing Access unchecked only inserts access records that are missing.
  • Run as Job queues the update as a background process instead of running inline.
  • Only active windows, processes, forms, workflows and info windows are eligible for access.
  • The Role’s User Level (System, Client, Client+Organization or Organization) decides which access levels are granted.
  • Organization-level roles never receive windows whose name contains “(all)”.
  • Document Action access is rebuilt for every active document type regardless of the Role’s User Level.
Note: The process rebuilds six access tables in a single run – AD_Window_Access, AD_Process_Access, AD_Form_Access, AD_WorkFlow_Access, AD_Document_Action_Access and AD_InfoWindow_Access

Prerequisites

  • Role window configured with the required window, process, form and report flags.
  • Role’s User Level (System, Client, Client+Organization or Organization) set correctly.
  • Users assigned to the Role that needs updated access.
  • New windows, processes or reports already added to the application dictionary.
  • Manual access flag on the Role reviewed if custom, hand-maintained access is required.

Navigation

Menu → General Rules → Security → Role Access Update

Configuration Steps

Step 1: Select the Role to Update

Open the Role field and pick the target role, for example POTS User. Leave it blank only when every active role in the tenant must be refreshed.

TenthPlanet iDempiere GeneralRules RoleAccessUpdate 1
FieldSample ValueDescription
RolePOTS UserRole whose access records will be rebuilt

Step 2: Decide Between Reset and Incremental Update

Check Reset Existing Access to delete and recreate every access record for the role. Leave it unchecked to only add missing records and keep current permissions intact.

FieldSample ValueDescription
Reset Existing AccessUncheckedAdds missing access without removing current permissions

Step 3: Choose Immediate or Scheduled Execution

Check Run as Job to execute the process in the background, or leave it unchecked for a small, single-role update that finishes immediately.

FieldSample ValueDescription
Run as JobUncheckedExecutes the process in the background as a scheduled job

Step 4: Run the Process and Review the Log

Click Start to execute. Review the process log for the count of windows, forms and reports added per role before closing the window.

Reference: Access Tables Rebuilt by This Process

Each run inserts only the access records that are missing for the Role, based on the access level derived from its User Level.

Access TableControlsAccess Level Rule Applied
AD_Window_AccessWindows available to the roleMatches role’s access level; excludes “(all)” windows for Organization level
AD_Process_AccessProcesses and reports the role can runMatches role’s access level
AD_Form_AccessCustom forms the role can openMatches role’s access level
AD_WorkFlow_AccessWorkflows the role can startMatches role’s access level
AD_Document_Action_AccessDocument actions per document typeApplied to every active document type, independent of access level
AD_InfoWindow_AccessInfo windows the role can queryMatches role’s access level
TenthPlanet iDempiere GeneralRules RoleAccessUpdate 2

the records inserted is determined by the access level of the user

User LevelAllowed Access LevelsTypical Purpose
System4, 6, 7Application dictionary and global system administration
Client2, 3, 6, 7Tenant-wide administration and business configuration
Client + Organization1, 2, 3, 6, 7Most business users and client administrators
Organization1, 3, 7Day-to-day operational users within one organization

Common Issues and Resolutions

IssueCauseResolution
Process updates roles across every tenantRole left blank while logged in as System AdministratorSelect a specific Role or switch to the retail tenant first
Role permissions do not change after runningRole is marked as Manual accessUncheck Manual on the Role or update access by hand
Duplicate or stale access records appearProcess run repeatedly without resettingRun once with Reset Existing Access checked to clean up
Only the System role gets updatedKnown behavior when run as System Administrator with no Role setExpected result; select the correct tenant and role explicitly
Selected role gets no updates at allRole is marked as Manual access, so the process exits immediatelyUncheck Manual on the Role if automatic access is required
Organization-level role is missing store-wide windowsWindows named with “(all)” are excluded for Organization-level roles by designUse a Client or Client+Organization level role for store-wide windows

Next Steps

  • Configure the Role window with the required window, process and report access.
  • Assign updated Roles to Users in the User window.
  • Review Organization Access and Login Preferences for affected users.