55
74
raise TypeError("project must be Project,str,unicode, or int type.")
58
78
def has_project_role(project, role_name, user=None):
59
79
"""Determines whether the currently logged in user has the specified role
60
80
for a given project. The project can either be the project name (as a