You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding links to jenkins itself those links might not work when the target requires admin permissions. So some links could be restricted to admins only
Another idea would be to add a new permission that grants the right to see the link. Then we could have 3 levels of access:
admin only
link permission
anyone
Upstream changes
No response
Are you interested in contributing this feature?
No response
The text was updated successfully, but these errors were encountered:
Fixesjenkinsci#78
Add permission concept for links to restrict access based on user roles.
* **CustomHeaderConfiguration.java**
- Add a new permission `VIEW_LINK`.
- Update the `getLinks` method to filter links based on user permissions.
* **AppNavLink.java**
- Add a new field `permission`.
- Update the constructor to include the `permission` field.
- Update the `getLinkUrl` method to check for the `permission` field.
* **config.jelly**
- Add a new entry for the `permission` field.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jenkinsci/customizable-header-plugin/issues/78?shareId=XXXX-XXXX-XXXX-XXXX).
What feature do you want to see added?
When adding links to jenkins itself those links might not work when the target requires admin permissions. So some links could be restricted to admins only
Another idea would be to add a new permission that grants the right to see the link. Then we could have 3 levels of access:
admin only
link permission
anyone
Upstream changes
No response
Are you interested in contributing this feature?
No response
The text was updated successfully, but these errors were encountered: