@cache_permission
def can_edit_subproject(user, project):
 return check_permission(user, project, 'trans.change_subproject')

@ cache_permission def can_edit_subproject ( user , project ) : return check_permission ( user , project , 'trans.change_subproject' )
checks whether user can edit subprojects on given project .