**Apache Airflow version**: 2.1.1

**What happened**:

For user with "Op" role following menu items are not visible in navigation panel, however pages are accessible (roles has access to it):
- "Browse" -> "DAG Dependencies"
- "Admin" -> "Configurations"

**What you expected to happen**: available menu items in navigation panel
tests/www/test_security.py
user = mock.MagicMock()
        user.is_anonymous = False
        mock_has_view_access.return_value = True
        assert self.security_manager.has_access('perm', 'view', user)
    def test_sync_perm_for_dag_creates_permissions_on_view_menus(self):
        test_dag_id = 'TEST_DAG'
        prefixed_test_dag_id = f'DAG:{test_dag_id}'
        self.security_manager.sync_perm_for_dag(test_dag_id, access_control=None)
        assert (
            self.security_manager.get_permission(permissions.ACTION_CAN_READ, prefixed_test_dag_id)
            is not None
        )
        assert (
            self.security_manager.get_permission(permissions.ACTION_CAN_EDIT, prefixed_test_dag_id)
            is not None
        )
    @mock.patch('airflow.www.security.AirflowSecurityManager._has_perm')
    @mock.patch('airflow.www.security.AirflowSecurityManager._has_role')
    def test_has_all_dag_access(self, mock_has_role, mock_has_perm):
        mock_has_role.return_value = True
        assert self.security_manager.has_all_dags_access()
        mock_has_role.return_value = False
        mock_has_perm.return_value = False
        assert not self.security_manager.has_all_dags_access()
        mock_has_perm.return_value = True
        assert self.security_manager.has_all_dags_access()
    def test_access_control_with_non_existent_role(self):