@cache_permission
def can_delete_comment(user, project):
 return check_permission(user, project, 'trans.delete_comment')

@ cache_permission def can_delete_comment ( user , project ) : return check_permission ( user , project , 'trans.delete_comment' )
checks whether user can delete comment on given project .