In JD Edwards EnterpriseOne, one security line can stop a whole team. A run line written on *PUBLIC, a role whose sequence puts it ahead of another, a menu hidden in one folder but still reached from another — and on Monday morning the accounts payable team can no longer enter vouchers.

Here is the kind of thing that can happen. An auditor asks to close the Security Workbench (P00950) and the other security applications to everybody. The administrator writes a run line denying *ALL objects on *PUBLIC, intending to reopen the business applications role by role. The roles of the finance team were never given an explicit run line on their own applications: until then, they got them from *PUBLIC. On the next sign-on, P0411 no longer opens for anyone in accounts payable. Nothing in the role looks wrong — the line that decides sits on *PUBLIC — and finding it means walking the Security Workbench user by user, role by role, while the voucher entry is stopped.

Why a security change is hard to predict

The Security Workbench shows lines, not answers. JD Edwards decides each right by reading those lines in a fixed order:

  • the user’s own lines;
  • then the lines of each role the user holds, from the highest sequence — what the user gets when signing on with *ALL;
  • then *PUBLIC, what everybody gets.

And a line can be on one object or on *ALL objects. The menus are kept elsewhere (menu filtering), the user defined objects elsewhere again (UDO security), and the columns and rows of a table are yet another kind of line. To know what one more line would do, you have to replay that order in your head, across several screens.

1. Simulate: try the change, see before and after

In Nomajde, Reviews → Simulate Security evaluates the lines the way JD Edwards does. Pick who:

  • an existing role — its own lines, then *PUBLIC;
  • several roles, read together as a merge would join them;
  • a user — its lines, the lines of every role it holds, then *PUBLIC;
  • a new role that does not exist yet, starting from what everybody gets.

Then try a change, in the tab where it belongs:

TabWhat you try
ApplicationsThe right to run an application, a form, a report — or a whole module.
MenusA menu or a task shown or hidden.
UDOsA user defined object shown or hidden, or all the UDOs of one kind.
TablesA column (view, add, change) or a range of rows.

Each change appears in words — AP_MANAGER: deny P0411 — and every row says what it would become, with what it was and the line that decides: run: yes → no, decided by APMGRJDE on P0411. Only what changes keeps the rows whose answer moves.

Nothing is written while you try.

2. Secure a module, or design a role from scratch

Two cases come back on every security project:

  • Close a whole module for a role — the Payroll module for the AP manager, for example: one change, and the grid lists every application and report it closes, before anything is written.
  • Design a new role from scratch — start empty, say what it may do and what it may not, and watch the effect as you go.

3. Apply it, through JD Edwards itself

When the result is what you want, Apply… writes the changes — on the role each was tried for, on another existing role, or on a new role, which is first created with the Role Management form.

Before writing, a confirmation says how many lines go to each screen — Security Workbench, Menu Filtering, UDO Security — and warns when a change touches what everybody gets (*PUBLIC). The lines are then written one by one through the JD Edwards screens’ own forms and checks, stamped with who made them and captured in the change package, exactly as if they had been entered in those screens. A module is written only on the objects whose answer changes.

4. Prove it: keep it as a test case

A security that is right today can drift tomorrow: another role added to a user, a merge, an ESU, a promotion to production.

Keep as a test case… turns what the simulation shows into a case of the jde-security test suite, as the security is now: one step per application, menu task, UDO or column, with its answer as the expectation. Apply the change first, then keep the case, so the new security becomes the expected one.

The suite ships five sample cases of a closed, separated security — accounts payable manager, accounts receivable manager, buyer, security administrator, and everybody is closed by default — written on the roles JD Edwards delivers, to adapt to your own roles. Playing a case only reads JD Edwards. When a step fails, its answer names the line that now decides, so the fix goes to the right user or role.

Run the suite after every security change, every merge and every promotion: drift is caught before a user notices.

A typical way to run it: the suite is scheduled every night in production and played by hand right after each security change, each role merge and each promotion of an ESU or a project; the security administrator reads the results the next morning.

And the kind of drift it catches. A buyer is also given the receiving role to cover for a colleague on holiday. Signing on with *ALL, the user now holds both roles — and the receiving role, with the higher sequence, also allows voucher entry. The Buyer case fails the next morning on its step does not enter vouchers (P0411), and the answer names the line that now decides: the receiving role on P0411. The segregation of duties is restored before the first invoice is entered by the wrong person.

See it in 1 min 30

The Nomajde page has the video — simulate, design a role, apply, keep a test case, run the suite — and a link to the Liberty Next demo to try it yourself.

Nomajde runs on Liberty Next, for JD Edwards on Oracle, SQL Server or Db2 (IBM i included); each installation is single-tenant, on your servers or hosted by Nomana-IT on OCI or AWS. Let’s talk about your security project.