forked from jenkinsci/customizable-header-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes jenkinsci#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).
- Loading branch information
1 parent
28534dc
commit 6f98199
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters