Hide deeplinks depending on page
Summary:
We created 2 deeplinks inside an additional section in Worker Goals page.
Content (required):
As mentioned above, we have 2 deeplinks inside Goals. One for the employees and one for the manager. However, the first link should be visible to all employees inside Me -> Goals. Then, the second link is only for the manager and it should be visible only inside My Team -> Worker Goals page.
Would it be possible to have an EL expression to have separate links on My Goals (employee view) and My Team Goals (manager view) ?
We already tried to use this expression: #{securityContext.userInRole['<role code>']}