airflow/www/security.py
"""
        Add Website.can_read access to all custom roles.
        :return: None.
        """
        website_permission = self.add_permission_view_menu(
            permissions.ACTION_CAN_READ, permissions.RESOURCE_WEBSITE
        )
        custom_roles = [role for role in self.get_all_roles() if role.name not in EXISTING_ROLES]
        for role in custom_roles:
            self.add_permission_role(role, website_permission)
        self.get_session.commit()
    def get_all_permissions(self) -> Set[Tuple[str, str]]: