@cache_permission
def can_see_repository_status(user, project):
 return (can_commit_translation(user, project) or can_update_translation(user, project))

@ cache_permission def can_see_repository_status ( user , project ) : return ( can_commit_translation ( user , project ) or can_update_translation ( user , project ) )
checks whether user can view repository status .