Skip to main content

Simulate Security

Reviews → Simulate Security answers the question the Security Workbench cannot answer at a glance: what would this change do? A JD Edwards EnterpriseOne security grows line by line — on users, on roles, on *PUBLIC, on one object or on *ALL, in the Security Workbench, the menu filtering and the UDO security — and the effect of one more line is hard to read from the lines themselves. The page evaluates them the way JD Edwards does: pick who, try a change, and each tab shows before and after, with the rule that decides.

Nothing is written while changes are tried. Apply… writes them as security lines, through the screens that hold them, once they say what is wanted; Keep as a test case… keeps what they show, as the security is today, among the security test cases.

The page works in two steps: 1 · Who and 2 · The security, in five tabs.


At a glance​

Simulate SecurityTry a change of the security and see what it would do — nothing is written.1WhoApply…Keep as a test case…An existing role or userA new roleAP_MANAGER ×add a role or a user… ▾JD Edwards looks in this order: AP_MANAGER → *PUBLIC2The security — as it is, and what you tryCURRENT183 line(s)APPLICATIONSnothing triedMENUS1 tried · 1 of 1 changeUDOSnothing triedTABLESnothing triedFORAP_MANAGER ▾TASK VIEW91 EnterpriseOne Menus ▾MENU OR TASKSupplier MasterHideShowTry itAP_MANAGER: hide Supplier Master×Supplier Master also sits under Daily Processing, where it stays shown: what is under it is still reached from there.Only what changesHow it is decided— Menu filtering is kept per role (and for *PUBLIC), never per user. A task is hidden for a role when its line says so…MENU / TASKRUNSSHOWNWHAT CHANGESSupplier MasterP04012NO(was yes)shown: yes → noWhoa role, roles merged, a user, a new roleFive tabsCurrent, then four kinds of changeA change to trypicked in a list, for the role you sayBefore and afterthe answer, and what changesApply… / Keep as a test case…for every change triedShown elsewherehidden here, still reached thereThe rule that decidessaid for each kind of change

1 · Who​

1WhoSeveral roles are read together, as a merge would join them.An existing role or userA new roleAP_MANAGER ×AP_CLERK ×add a role or a user… ▾JD Edwards looks in this order: AP_MANAGER → AP_CLERK → *PUBLIC1WhoAn existing role or userA new roleFIN_CLOSEA new role has no line yet: only what everybody gets (*PUBLIC) applies. Try what it should hold, then Apply creates it.An existing role or userone, or several roles mergedA new roledesigned from scratchRoles mergedeach pill adds one; × takes it outThe order JD Edwards readsthe user, its roles, then everybodyOnly everybody appliesuntil Apply creates the role

A switch at the top of the step chooses between An existing role or user and A new role.

ChoiceWhat is read
A roleThe role's own lines, then *PUBLIC. A role that holds other roles is read alone: it gets nothing from them until a merge writes them into its own lines.
Several rolesThe roles read together, as a merge would join them: each role picked appears as a pill, × takes it back.
A userThe user's own lines, then the lines of every role the user holds today, then *PUBLIC — what the user gets when signing on with *ALL, the default sign-on role that combines all the roles assigned to them.
A new roleA name typed in the field (ten characters at most): the role does not exist yet and has no line, so only what everybody gets (*PUBLIC) applies. The changes tried say what it should hold; Apply… creates it.

The field add a role or a user… lists the users and the roles of JD Edwards, and *PUBLIC; its Type column filters one kind or the other. Once someone is picked, only roles are offered.

Under the pills, JD Edwards looks in this order gives the sequence the page reads: the user, its roles from the highest sequence, then *PUBLIC.

The page reads its address: …/app/nomajde/secsim?who=AP_MANAGER,AP_CLERK opens it on those roles. A link of this kind fits in a ticket that asks "what would happen if…?".


2 · The security​

The second step shows the security in five tabs. Each tab heading gives its count: the lines that apply for Current; for the four others, how many changes were tried there and how many rows they change (1 tried · 3 of 12 change), or nothing tried. A tab where something changes shows its count in orange.

TabWhat it holds
CurrentEvery security line that applies today, read only.
ApplicationsA change of the right to run: an application, a form or a report, or a whole module.
MenusA menu or a task shown or hidden (menu filtering).
UDOsA user defined object shown or hidden, or all the UDOs of one kind.
TablesA column (view, add, change) or rows (a range of values) of a table.

Current​

CURRENT183 line(s)APPLICATIONSnothing triedMENUSnothing triedUDOSnothing triedTABLESnothing triedWHEREKINDON WHATWHAT IT SAYSLINE OFApplicationApplication SecurityP0411Run Application (Y/N) ✓ · Update Action ✓AP_MANAGERApplicationApplication SecurityP4310Run Application (Y/N) ✕AP_MANAGERUDOVIEWWatchlist · OVW0411G_1607110002JDEViewable: 1AP_MANAGERApplicationApplication Security*ALLRun Application (Y/N) ✕*PUBLICCurrentread only: what applies todayWheremenu, application or UDOWhat the line says✓ allowed · ✕ deniedWhose line it isthe user, its roles, *PUBLIC

Current lists, read only, every line that applies to who was picked — for a new role, only the *PUBLIC lines:

ColumnContent
WhereMenu, Application or UDO.
KindThe kind of security line, as JD Edwards names it.
On whatWhat the line secures: the object, the menu task, the UDO with its kind.
What it saysThe settings of the line; a box setting is shown as ✓ (allowed) or ✕ (denied).
Line ofThe user, the role or *PUBLIC the line is written on.

The grid has the usual search, filters, columns and Export.

Trying a change​

The four other tabs work the same way. A row of fields describes the change, every value picked in a list:

  • For — who the line would be written on: who was picked, the roles of a user, or *PUBLIC. A menu change is never written on a user: menu filtering is kept per role.
  • What the change is about — the fields of the tab, described below.
  • Deny / Allow (Hide / Show on the Menus and UDOs tabs), then Try it.

Each change tried appears under the fields, in words — AP_MANAGER: hide Supplier Master — with × to take it back. What it would do shows at once underneath:

  • Only what changes keeps the rows whose answer moves;
  • How it is decided restates the rule JD Edwards applies for this kind of security;
  • the grid gives each row as it would be; a value that moves shows what it was — NO (was yes) — and What changes sums it up, as run: yes → no.

The changes tried stay on the page while the tabs are visited: Apply… and Keep as a test case… act on all of them.

Applications​

CURRENT183 line(s)APPLICATIONS1 tried · 3 of 3 changeMENUSnothing triedUDOSnothing triedTABLESnothing triedFORAP_MANAGER ▾SECUREa whole module ▾MODULEAccounts Payable ▾DenyAllowTry itAP_MANAGER: deny the module Accounts Payable×Only what changesHow it is decided — JD Edwards allows what no rule forbids…OBJECTDESCRIPTIONSYSTEMTYPERUNDECIDED BYWHAT CHANGESP0411Standard Voucher Entry04APPLNO(was yes)AP_MANAGER on P0411run: yes → noP0413MManual Payments04APPLNO(was yes)AP_MANAGER on P0413Mrun: yes → noR04570Create Payment Control Groups04UBENO(was yes)AP_MANAGER on R04570run: yes → noAn application or a modulea form, a report (run) tooThe changes tried× takes one backBefore and afterthe right to runAllow or denythen Try itThe line that decidesthe line tried wins

Secure chooses between an application, a form or a report and a whole module:

FieldContent
Application, form or reportPicked in the list of the Object Librarian, with its type (APPL, FORMS, UBE) as a filter. The change is on the right to run.
ModuleA licence component as Nomasx-1 defines it (Settings → Licences), filtered by category: the change is the right to run every application and report of the module.

The grid lists the objects concerned: Object, Description, System, Type, Run (yes or NO, the line that decides on hover), Decided by — the line that decides, as who on what (AP_MANAGER on P0411, BUYER on *ALL) or no rule — and What changes.

Task view lists the task views of JD Edwards; the largest is proposed. Menu or task opens Choose a menu or a task: the menus of that view drawn as a tree, folders opened with a click. A search of two characters or more lists the matches — menus, tasks or the application they run — each with the path of folders where it sits; Choose (or a double click) takes the one selected.

The grid lists the menu or task tried and everything under it: Menu / task, Runs (the application it opens), Shown and What changes. A task hidden in one folder that also sits in another, where it stays shown, gets a warning: Supplier Master also sits under Daily Processing, where it stays shown: what is under it is still reached from there.

UDOs​

Kind of UDO picks the kind (watchlist, grid format, composite page…); UDO picks one of them, or stays blank for all the UDOs of this kind. The grid gives Type, Name, UDO, Object, Seen, Decided by and What changes.

Tables​

FORAP_MANAGER ▾TABLEF0101 ▾SECURErows (a range of values) ▾COLUMNAC01 ▾FROM100THRU199ON THESE ROWS, MAYviewaddchangedeleteTry itAP_MANAGER: deny view on F060116.SSN×AP_MANAGER: rows of F0101.AC01 from 100 to 199 — may view×TABLECOLUMNVIEWADDCHANGEDECIDED BYWHAT CHANGESF060116SSNNO(was yes)yesyesAP_MANAGER on F060116view: yes → noRanges of values that apply (row security: listed, not evaluated)USER / ROLETABLECOLUMNFROMTHRUVIEWADDCHANGEDELETEWHAT HAPPENSAP_MANAGERF0101AC01100199YNNNstarts to apply*PUBLICF0101AC011999NNNNA column or rowstable and column picked in listsTwo changes trieda column right, a rangeColumns: before and afterview, add, changeOn these rows, mayview, add, change, deleteRanges that applylisted, not evaluated

Table is picked in the list of tables; Secure chooses between a column and rows (a range of values).

ChangeFields
A columnColumn (the data items of the table) and Right: view, add, change, or view, add and change.
RowsColumn, From, Thru, and On these rows, may: one box each for view, add, change and delete.

The grid gives each column of the tables tried: Table, Column, View, Add, Change, Decided by and What changes. Under it, Ranges of values that apply lists the row security of these tables — who, table, column, from, thru, and the four rights — and marks starts to apply for a range tried. Ranges are listed, not evaluated.


How it is decided​

Under each tab, How it is decided restates the rule the page applies:

TabRule
ApplicationsJD Edwards allows what no rule forbids. The user's own rules come first, then the roles' (highest sequence first), then *PUBLIC; at one level the most precise rule wins — a line on the object before a line on *ALL, a line on a form or a version before a line on the whole object.
MenusMenu filtering is kept per role (and for *PUBLIC), never per user. A task is hidden for a role when its line says so — else when *PUBLIC's does; a hidden folder hides what is under it. A user sees a task when at least one of the roles shows it.
UDOsA UDO is seen when the first line found says so: the user's own, then the roles' (highest sequence first), then *PUBLIC's — for each, the line on the UDO before the line on *ALL. No line: not seen.
TablesThe first line found decides, from the user to its roles (highest sequence first) to *PUBLIC — for each, the line on the table before the line on *ALL. No line: allowed. Ranges of values are listed, not evaluated.

A change tried wins over the line already written on the same place.


Apply​

Write the changes to JD EdwardsAP_MANAGER: deny the module Accounts PayableAP_MANAGER: hide Supplier MasterAP_MANAGER: deny view on F060116.SSNWRITE THEMon the role each was tried foron another roleon a new roleNAME OF THE NEW ROLEAP_SUPERVISORThe role is created with the Role Management form, then the lines are written on it.WriteCloseEvery change triedwhatever the tabWhere they are writtenthe role tried, another, a new oneA new rolecreated first, by its own formWriteafter a confirmation

Apply…, at the top of the page once a change has been tried, opens Write the changes to JD Edwards with every change tried, whatever the tab. Write them says where:

ChoiceEffect
on the role each was tried forEach line goes to the user, role or *PUBLIC given in its For field.
on another roleEvery line goes to one existing role, picked in the list.
on a new roleEvery line goes to a role that does not exist yet: its name is typed, and the role is created first with the Role Management form, which opens filled with that name and the next free sequence.

For a new role designed from scratch, the dialog says that the role is created with the Role Management form, then the lines are written on it: there is no other choice.

Write prepares the lines and asks for a confirmation that gives how many go to each screen — Security Workbench, Menu Filtering, UDO Security — and warns when they change what everybody gets (*PUBLIC). The lines are then written one by one, through the screens' own forms and checks:

  • an application, a form or a report becomes a run line of the Security Workbench; a module only on the objects whose answer changes, so a module already closed by a wider line needs none;
  • a column or a range becomes a column or row security line of the Security Workbench;
  • a menu becomes a Menu Filtering line, a UDO a UDO Security line;
  • a line already written on the same place is updated rather than doubled.

A menu change cannot be written on a user: the dialog says so and writes nothing. When a line fails, the dialog says at which line it stopped and why. Once everything is written, a banner gives how many lines went to whom, and the changes tried are cleared.


Keep as a test case​

Keep as a test caseWhat is listed, as the security is today, becomes a case of the tests(Tests → Cases, suite jde-security).AP_MANAGER — month endBring my 3 former case(s) into TestsSaveCloseThe name of the casea case of the same name is replacedFormer casesoffered once, while some are leftSaveas the security is today

Keep as a test case…, beside Apply…, keeps what the tabs list — as the security is today, not as it would be with the changes tried — as a case of the tests (Tests → Cases, suite jde-security). It is offered when one role or one user is looked at. A name is typed, and Save writes the case:

  • an application listed becomes an expectation on its right to run;
  • a menu or a task, a UDO, a table's column (view, add, change) become expectations on what they answer now — 200 menus and 200 UDOs at most;
  • a case of the same name is replaced.

The case is then played, compared and scheduled like every other test: see Security test cases. Apply the changes first, then keep the case, to make the new security the expected one.

When security cases kept in Nomajde's own database are not in the tests yet, the dialog offers Bring my n former case(s) into Tests: each comes in under its name, with its expectations. The samples that database held are not brought: the suite has its own.


Access​

The page is in the Reviews folder of the Nomajde menu. The predefined roles Security administrator and Administrator hold it (see Predefined roles). Writing through Apply… needs the right to change the Security Maintenance screens, as the Security administrator role gives.

The connection used to read JD Edwards needs read access to the Security Workbench (F00950), the menu filtering (F9006) and the menus (F9000, F9001), the UDO security (F00950W) and catalogue (F9860W), the profiles (F0092), the roles and their sequence (F00926), the role assignments (F95921) and the Object Librarian (F9860). The modules come from the licence settings of Nomasx-1.


Tips & best practices​

  • Simulate before writing. A role about to be given, a *PUBLIC line about to be closed, a module to take away: each tab shows what moves, row by row, before anything is written.
  • Design a role from scratch with A new role: try what it should hold, check the answer tab by tab, then Apply… creates it and writes its lines.
  • Read Decided by when an answer surprises: the line that decides is named, so the fix goes to the right user, role or *ALL line.
  • Check the role sequence when a user holds roles that disagree: the role with the highest sequence is read first.
  • Keep the case after applying, then play it after every change: Security test cases.
  • Read Security consistency first on a security inherited from years of changes: lines for nobody or that say nothing new make every simulation harder to read.
  • To work on one role, one object, one menu or one table directly, use Security Management; a whole module for a role is in Secure a module.