Editing Action:Role Relationships
On this screen you will be presented with search results containing action:role records that match the criteria you entered. From these results you can editing roles assigned to actions as well as delete action:role relationship records.
Searching for Existing Action:Role Relationships
This screen offers an opportunity to search again in case you didn't find the action(s) you intended. When searching for existing Action:Role(s) relationship records do the following in the section labeled "Search for and Edit Existing Actions":
- Select the application you want to search for actions within. a. This list is built dynamically from the table software_application in the project_management database)
- Enter the controller name of the action you are searching for. a. This field is optional. Leaving it blank will result in a search that does not filter based on controller name. b. Search will put a wildcard before and after the string you enter. c. Search is NOT case sensitive. d. If the controller name you entered is not found you will get 0 search results.
- Enter the action name of the action you are searching for. a. This field is optional. Leaving it blank will result in a search that does not filter based on action name. b. Search will put a wildcard before and after the string you enter. c. Search is NOT case sensitive. d. The 'lookup' utility to the right of this field can be used to search for controller and action names by controller and/or action if you do not already know the controller:action to enter. e. If the action name you entered is not found you will get 0 search results.
- Select one or more roles to restrict your search results. a. Leaving this multi-select box unselected will result in a search across all roles. b. Search will include all actions with any of the roles selected. This is intended to return as many results as possible. c. The list of available roles is dynamically generated from data in the table 'role'.
- Click the button "Search".
Action Search Results
Your search results will look similar to the screen shot below:
Edit Action:Role Relationship
To edit the roles assigned to a action do the following:
- Click on the light blue 'edit' link on the right side of the row representing the action:role. The following should be displayed/occur.
a. The 'edit' and 'delete' buttons for this action:role record will be grayed and disabled.
b. A role editing box will display containing a pink 'done' button. Clicking on this button will close the editing information and will reenable the 'edit' and 'delete' buttons for this action:role record.
c. A role editing box will display containing a list of roles that are available in the system color coded to indicate which are currently assigned to this action.
- The list of available roles is dynamically generated from data in the table 'role'.
- Gray indicates that the rols is not assigned to the action.
- Blue indicates that the role is assigned.
- Click on a role button to select or unselect that role for the action. a. The change is committed and on success the button color will toggle and the text description of the roles that are assigned to the action will update.
Delete Action:Role Relationship
To delete the action:role relationship do the following:
- Click on the light blue 'delete' link on the right side of the row representing the action:role. The following should be displayed/occur. a. The 'edit' and 'delete' buttons for this action:role record will be grayed and disabled. b. A confirmation box will display containing a pink 'cancel' button. Clicking on this button will close the delete confirmation box and will reenable the 'edit' and 'delete' buttons for this action:role record. c. A confirmation box will display containing a warning text and a red 'Delete Action' button. Clicking on the 'Delete Action' button will remove the action:role record from the system. Note that this cannot be undone.