Benefits administrators also have the Employee role. They need
to be able to edit a plan type grouping, such as Health and Welfare, in the Benefits Service
Center. But they shouldn't be able to edit the groupings from their self-service Benefits
pages. To limit this editing, you can disable the Edit button on the
self-service pages.
Here's what to do
-
Go to .
-
Enter your sandbox.
-
Go to .
-
On the Settings and Actions menu, click Edit
Pages.
-
Confirm that the edit page header has Edit Layer: Site -
SITE.
-
On the View menu, select Source.
-
Click a plan type grouping Edit button.
-
On the Confirm Shared Component Edit dialog box, click
Edit.
-
On the Source pane toolbar, click the Show the properties for
Edit icon.
-
On the Component Properties: Edit dialog box, in the
Disabled field, select Expression
Builder.
-
On the Expression Editor dialog box, in the Type a value or
expression field, enter this expression:
#{securityContext.userInRole['ORA_BEN_BENEFITS_ENROLLMENT_MAINTENANCE_DUTY'] and
(pageFlowScope.configurationMap.pCalledFrom ne 'BSC')}
-
Click OK.
-
On the Component Properties dialog box, click
Apply.
-
Click OK.
-
To render your changes, on the page, click Close.
-
To verify your changes, on the Sandbox Mode: Edit menu,
select Preview as if Published (Context: All).
-
To publish your changes, on the <YourSandboxName>
menu, select Publish.