Permissions Expander
The Permissions Expander sets, for each user, which accounts, customers, cost centers, materials, groups, warehouses and profit centers the user sees. This is a permission on each card by itself, and it works together with the permissions per type in Users Management. In the window you tick the items in a tree, and you copy what you ticked to another user with the Copy Permissions window. For the steps see Grant the same permissions to several users.
Opening the window
From the ribbon: Management > Security > Permissions Expander. The button appears when both conditions are met:
- Your licence includes the permissions expander feature.
- You have the permission Permissions Expander in the Operations tab of Users Management.
The window works only if you turned on the option Activate permissions expansion system in the Save page of the program options. If it is off, the program shows the first message in Messages and does not open the window. The option appears in the program options for whoever has the feature in the licence.
What the expander changes
When the option is on, each user sees only the items you ticked for them here. Users who have Full Authorities always see everything, and they do not appear in the User field. A new item added later takes the users of its parent item: a sub-account takes the users of its parent account, a material those of its group, and a customer those of their account. A new item that has no parent is seen only by the users who have Full Authorities, until you tick it for the users you want.
The program stores the ticks in fields that hold 252 users, according to the user number shown in the Chart of Users. A user whose number is above that has no ticks saved.
The Permissions Expander window
| Field | Description | Required | Values and rules |
|---|---|---|---|
| User | The user you tick the items for. | Yes, to load and save the tree | A lookup field. Type part of the name or click the list: it shows the user name, name, surname, department and responsibility. The list is limited to the users who do not have Full Authorities, and it has no groups. The program loads the tree when you choose the user, and the ticks saved for that user appear. You can drop a user from the Chart of Users. The new-record command in the lookup list opens Users Management empty. The field is disabled in every open expander window while one of them is loading its tree. |
| Quick search box | Search in the tree. | No | It shows the hint "Enter here what you want to search for.". As you type each character, the program selects the first node, from the current node onward, whose text (code and name) contains what you typed anywhere, ignoring case. The comparison ignores letter stretching, alef forms, spaces and the Arabic article, as in Search in the grid. Press Enter for the next match and Shift + Enter for the previous. If there is no other match the program beeps and starts again from the top of the tree. |
| Tree | The items of the file, each with a tick box. | No | It shows the roots and the items. Latin names appear in the English interface when they exist. Each item has an icon by its type. |
| Button | What it does |
|---|---|
| Copy Permissions | Opens the Copy Permissions window. If you did not choose a user, the second message in Messages appears. |
Save (Alt + S) | Asks "Modification will be saved. Are you sure?" with Yes and No. With Yes it saves what you ticked for the user. The button is disabled until you choose a user. |
| Close | Closes the window. If the ticks differ from what was saved, it asks "Save Changes" with Yes and No. Yes saves and No drops the change, and the window closes in both cases. |
The tree
The tree has five roots, and each opens one kind of item. The names of the roots come from the file, and the items are under them.
| Root | What is under it |
|---|---|
| Accounts | The tree of normal, aggregative, distributive and final accounts. Under each normal account are the customers linked to it. |
| Cost centers | The tree of cost centers. |
| Materials | The groups, and the materials under them. Sub-materials do not appear. |
| Stores | The tree of warehouses. |
| Profit centers | The main centers, and the sub centers under them. |
Each item appears with its code and name, and the root appears with its name only. The tick of a root is not saved. When the tree loads, a root appears ticked if one of the items directly under it is ticked.
| What you do | What happens |
|---|---|
| Click the tick box of an item | Ticks the item alone or clears it. What is above and below it does not change. |
Click the box while holding Ctrl | Ticks the item and everything under it, or clears them together. |
Click the box while holding Shift | Ticks the item and all its parents. When you clear a tick only the item changes. |
| Click the name, not the box | Only selects the item. |
The program saves nothing when you tick, so the ticks are saved with the Save button. When you choose another user, the program loads the ticks of the new user and does not ask about changes you did not save, so they are lost.
Icons
The icon of an item shows its type, so you tell the roots from the items. Accounts have different icons for a normal account, a final account, an aggregative account, a distributive account and an account linked to a customer. Aggregative and distributive cost centers use the same icons as the aggregative and distributive accounts. Materials have one icon for the group and another for the material, and warehouses, cost centers and profit centers have icons of their own.
Copy Permissions window
It copies to the user chosen in the main window what another user was ticked for. It opens with the Copy Permissions button, and it closes only with Save or Close. Its title is "Copy Permissions of Permission Expander".
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Copy Permissions from | The user the items are taken from. | Yes | A lookup field like the User field of the main window. It lists the users who do not have Full Authorities. The user copied to is the one chosen in the main window. |
| Button | What it does |
|---|---|
| Save | Disabled until you choose a user. If the source is the user copied to, the third message appears. Otherwise it asks "Main Users permissions will be copied to another user .. Are you sure?" with Yes and No. With Yes it copies at once in the file, without you clicking Save in the main window. Then "Permissions successfully copied" appears, the tree is read again and the window closes. |
| Close | Closes the window without copying. |
What the copy does: it adds to the user copied to every item the source has ticked. It does not clear what you ticked for them before. After the copy the tree is read again, so any ticks you made in the main window and did not save are lost.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| The permissions system in the Program Options - Save is not enabled. Cannot continue. (titled: Permissions system is disabled) | You clicked the Permissions Expander button and the option Activate permissions expansion system is off. | Turn the option on in the Save page. |
| Must select the user you want to copy the permissions to | You clicked Copy Permissions and the User field is empty. | Choose the user to copy to. |
| Permissions cannot be transferred to the user himself | In the copy window, the source is the user chosen in the main window. | Choose another user. |
| Main Users permissions will be copied to another user .. Are you sure? | You clicked Save in the copy window. | Yes to copy, No to go back. |
| A error occurred while copying permissions, please try again | The copy failed in the file. | Try again. |
| Modification will be saved. Are you sure? | You clicked Save in the main window. | Yes to save, No to go back. |
| Save Changes | You closed the window while the ticks differ from what was saved. | Yes to save, No to drop them. |
| Couldn't Update ISx000 Table | Updating the items failed when saving. It appears in English in every language. | Save again, and tell the system administrator if it repeats. |
| Error In prcExtSec_Tree | Loading the tree failed. It appears in English in every language. | Close the window and open it again. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.