Infrastructure/BaseEntity/BaseMVC/View/AdminNavigation.php
private function setNav()
    {
        $this->nav = [

            'System' => [
                'subSections' => [
                    'Administrators' => [
                        'route' => ROUTE_ADMINISTRATORS,
                        'authorization' => ADMINISTRATORS_VIEW_RESOURCE,
                        'subSections' => [
                            'Insert' => [
                                'route' => ROUTE_ADMINISTRATORS_INSERT,
                                'authorization' => ADMINISTRATORS_INSERT_RESOURCE,
                            ],
                        ]
                    ],

                    'Roles' => [
                        'route' => ROUTE_ADMINISTRATORS_ROLES,
                        'authorization' => ROLES_VIEW_RESOURCE,
                        'subSections' => [
                            'Insert' => [
                                'route' => ROUTE_ADMINISTRATORS_ROLES_INSERT,
                                'authorization' => ROLES_INSERT_RESOURCE,
                            ],
                        ],
                    ],

                    'Permissions' => [
                        'route' => ROUTE_ADMINISTRATORS_PERMISSIONS,
                        'authorization' => PERMISSIONS_VIEW_RESOURCE,
                        'subSections' => [
                            'Insert' => [
                                'route' => ROUTE_ADMINISTRATORS_PERMISSIONS_INSERT,
                                'authorization' => PERMISSIONS_INSERT_RESOURCE,
                            ],
                        ]
                    ],

                    'Events' => [
                        'route' => ROUTE_EVENTS,
                        'authorization' => EVENTS_VIEW_RESOURCE,
                        'subSections' => [
                            'Types' => [
                                'route' => ROUTE_DATABASE_TABLES,
                                'args' => [ROUTEARG_DATABASE_TABLE_NAME => 'event_types'],
                                'authorization' => EVENTS_VIEW_RESOURCE,
                            ],
                        ]
                    ],

                    'Database' => [
                        'authorization' => DATABASE_TABLES_VIEW_RESOURCE,
                        'subSections' => $this->getDatabaseTablesSection()
                    ],

                ]
            ],
            'Logout' => [
                'route' => ROUTE_LOGOUT,
            ],
        ];

        if (isset($this->container['settings']['adminNav'])) {
            if (!is_array($this->container['settings']['adminNav'])) {
                throw new \Exception("adminNav config must be array");
            }

            $this->nav = array_merge($this->container['settings']['adminNav'], $this->nav);
        }
    }
private function setNav()
    {
        $this->nav = [

            'System' => [
                'subSections' => [
                    'Administrators' => [
                        'route' => ROUTE_ADMINISTRATORS,
                        'authorization' => ADMINISTRATORS_VIEW_RESOURCE,
                        'subSections' => [
                            'Insert' => [
                                'route' => ROUTE_ADMINISTRATORS_INSERT,
                                'authorization' => ADMINISTRATORS_INSERT_RESOURCE,
                            ],
                        ]
                    ],

                    'Roles' => [
                        'route' => ROUTE_ADMINISTRATORS_ROLES,
                        'authorization' => ROLES_VIEW_RESOURCE,
                        'subSections' => [
                            'Insert' => [
                                'route' => ROUTE_ADMINISTRATORS_ROLES_INSERT,
                                'authorization' => ROLES_INSERT_RESOURCE,
                            ],
                        ],
                    ],

                    'Permissions' => [
                        'route' => ROUTE_ADMINISTRATORS_PERMISSIONS,
                        'authorization' => PERMISSIONS_VIEW_RESOURCE,
                        'subSections' => [
                            'Insert' => [
                                'route' => ROUTE_ADMINISTRATORS_PERMISSIONS_INSERT,
                                'authorization' => PERMISSIONS_INSERT_RESOURCE,
                            ],
                        ]
                    ],

                    'Events' => [
                        'route' => ROUTE_EVENTS,
                        'authorization' => EVENTS_VIEW_RESOURCE,
                        'subSections' => [
                            'Types' => [
                                'route' => ROUTE_DATABASE_TABLES,
                                'args' => [ROUTEARG_DATABASE_TABLE_NAME => 'event_types'],
                                'authorization' => EVENTS_VIEW_RESOURCE,
                            ],
                        ]
                    ],

                    'Database' => [
                        'authorization' => DATABASE_TABLES_VIEW_RESOURCE,
                        'subSections' => $this->getDatabaseTablesSection()
                    ],

                ]
            ],
            'Logout' => [
                'route' => ROUTE_LOGOUT,
            ],
        ];

        if (isset($this->container['settings']['adminNav'])) {
            if (!is_array($this->container['settings']['adminNav'])) {
                throw new \Exception("adminNav config must be array");
            }

            $this->nav = array_merge($this->container['settings']['adminNav'], $this->nav);
        }
    }
entire nav without regard to permissions