**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
airflow/www/security.py
"""
        Verify whether a given user could perform a certain action
        (e.g can_read, can_write) on the given resource.
        :param action_name: action_name on resource (e.g can_read, can_edit).
        :type action_name: str
        :param resource_name: name of view-menu or resource.
        :type resource_name: str
        :param user: user name
        :type user: str
        :return: Whether user could perform certain action on the resource.
        :rtype bool
        """
        if not user:
            user = g.user
        if user.is_anonymous:
            user.roles = self.get_user_roles(user)
        has_access = self._has_access(user, action_name, resource_name)
        
        if self.is_dag_resource(resource_name):
            if action_name == permissions.ACTION_CAN_READ:
                has_access |= self.can_read_dag(resource_name, user)
            elif action_name == permissions.ACTION_CAN_EDIT:
                has_access |= self.can_edit_dag(resource_name, user)
        return has_access
    def _has_access(self, user: User, action_name: str, resource_name: str) -> bool: