fix: register unifi pages with shell NavVisibilityRegistry; v1.12.1
The Access tab persists user/group grants in unifi_page_grants and the existing RouteMatched listener honors them on the request path, but NavItem::visibleTo() only consulted the page's required_permission — so a granted user never saw the menu entry to reach the page. Register the unifi.* prefix with the shell's NavVisibilityRegistry so the sidebar lists exactly the pages the grant table allows. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dashboard/unifi",
|
||||
"description": "UniFi network management, WiFi stats, and captive portal authentication for the Dashboard platform",
|
||||
"version": "1.12.0",
|
||||
"version": "1.12.1",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
|
||||
Reference in New Issue
Block a user