Hi Community,
Is it possible to show or hide a specific section or page in the navigation (for example, inside a jira:globalPage
module) for certain users or based on a custom role, using displayConditions
in the Forge manifest?
For example, is something like this supported or planned?
jira:globalPage:
- key: my-manager
title: “Manager”
sections:- header: “Admin Stuff”
displayConditions:
user: [user1, user2, user3]
pages:- title: “Confidential”
route: confidential
- title: “Confidential”
- header: “Admin Stuff”
Or is it only possible to use isAdmin or similar conditions at the module level?
Are there recommended ways to allow only certain users or roles to see some sections/pages directly via the manifest, without doing it in frontend code?