Permission Maintain[S39]
Overview
This screen works in three different ways depending upon the calling mode and the current user's permisisons. These modes are...

1) Role Mode : Maintain the permissions for a role (editable if the user has the correct permissions)
2) Actor Mode : List the permissions for an actor (read only)
3) Function Mode : List the active actors who have some permission to a certain business function (read only)
 
Rules
The user requires rights to access permissions even to see this screen.

Editing Role Permissions (Role Mode)

When in Role Mode, the various permissions will be listed for a chosen role. in this case, the permissions will have a checkbox(s) against them. These checkboxes can be switched on and off to grant/deny permissions. There are three types of permission...

   Function - Single process permission (yes they can do this or no they can't)
   Window - Maintenance CRUD permission (4 action permissions : create, read, update, delete)
   Menu - Menu Permission (include in their menu or not)

The menu permissions have two types...

   Menu Group - the menu group heading
   Menu item - the actual menu item

If a menu item is selected then its menu group heading should also be selected.

Where an actor has more than one role, their total permissions will be the optimistic union of all of their roles. In other words, if they have a particular permission granted on one role but not on the others, they will be granted that permission.
Operation
When in an editable mode, when you have set the checkboxes to the correct settings, click the Save Changes button.

Any user who has an affected role will not see the changes until they login next time.

When in Role Mode you should see an assigned link against each function. Clicking this link will call this same screen but in Function Mode.

Related Items
 
Screen Shot
Testers : Please put a useful screen shot here when this page is tested.