@cache_permission
def can_change_dictionary(user, project):
 return check_permission(user, project, 'trans.change_dictionary')

@ cache_permission def can_change_dictionary ( user , project ) : return check_permission ( user , project , 'trans.change_dictionary' )
checks whether user can change dictionary for given project .