Skip to content

Commit

Permalink
Enable defining required permissions for navigation web interface p…
Browse files Browse the repository at this point in the history
…lugins. (#21205)

* Enable defining permissions for `navigation` web interface plugins.

* Adding changelog.
  • Loading branch information
linuspahl authored Dec 17, 2024
1 parent f4a1291 commit b5d905c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions changelog/unreleased/pr-21205.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type = "a"
message = "Enable defining required permissions for navigation web interface plugin."

pulls = ["21205"]
details.user = """
Before it was only possible to define required permissions for a navigation dropdown item.
"""

Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ type PluginNavigation = {
perspective?: string;
BadgeComponent?: React.ComponentType<{ text: string }>;
position?: 'last' | undefined,
permissions?: string | Array<string>,
useIsValidLicense?: () => boolean,
} & (PluginNavigationLink | PluginNavigationDropdown)

Expand Down

0 comments on commit b5d905c

Please sign in to comment.