@cache_permission
def can_author_translation(user, project):
 return check_permission(user, project, 'trans.author_translation')

@ cache_permission def can_author_translation ( user , project ) : return check_permission ( user , project , 'trans.author_translation' )
checks whether user can author translation on given project .