def is_allowed(self):
"""Checks if the user has general access to the blueprint.
This uses the `BlueprintAccess.has_general_access` to find out
if the user has access to this blueprint (and its navigation).
If there is no `BlueprintNavigation` given we assume everything
is granted.
"""
return self._access.has_general_access
评论列表
文章目录