GroupID 8.x - Self-Service
You want to prevent members of a security role from deleting groups through the Self-Service portal.
Under the default behavior, the group owner or a role with the 'Manage any Group' permission is able to delete a group. The Delete option is available on the Group Properties, My Expired Groups, My Deleted Groups and Default Search pages of the portal.
|Note:||The My Deleted Groups node in the Self-Service portal shows logically deleted groups only. For more on physically and logically deleted groups, see the KB article - Restore deleted groups in GroupID Management Console.|
If a group resides outside the scope of the Group Life Cycle job, the Group Properties page will show the Delete option. However, if a group resides within the scope of the Group Life Cycle job and has an expiry policy applied to it, then the group must be expired first and then deleted.
Group without expiry policy:
Group with expiry policy:
To prevent a user role from deleting groups, we would have to customize the following three toolbars for the role:
The Groups Search toolbar is available on the My Groups page of the portal. It is also available on the search results page that opens when a user clicks the Groups link on the navigation bar and performs a search.
To hide the Delete option on this toolbar:
- In GroupID Management Console, select Self-Service > Portals > [Required portal] > Designs > [Required identity store].
- On the Toolbars tab, select Groups Search from the Select Toolbar Type drop-down list.
- The Name area lists all buttons available on this toolbar. Select Delete and click Edit.
- On the Toolbar Button Properties dialog box, select Never from the Visibility Role drop-down list to hide the Delete button from all users.
Or select a specific role here. The button would be visible to users of the selected role as well as to roles with a priority value higher than the selected role. All roles with a lesser priority value will not be able to see the button.
- Click OK and save the changes.
The Default Search toolbar is available on the search results pages for Quick search and Advanced search.
To hide the Delete button on the toolbar, follow the same steps as discussed for the Groups Search toolbar, except that you have to select the Default Search option (step 2) from the Select Toolbar Type drop-down list.
The Group toolbar is available on the Group Properties page of the portal.
To hide the Delete button on the toolbar, follow the same steps as discussed for the Groups Search toolbar, except that you have to select the Group option (step 2) from the Select Toolbar Type drop-down list.
GroupID Online Help topic: Customize Toolbars