isProjectAuthor

protected open fun isProjectAuthor(userId: String, projectId: String): Boolean

Method to get whether the user who made a request on server is the author of the checked project

Return

whether the user who made a request on server is the author of the checked project

Parameters

userId

: the identifier of the user who made request

projectId

: the identifier of the checked project


protected open fun isProjectAuthor(project: Project, userId: String): Boolean

Method to get whether the user who made a request on server is the author of the checked project

Return

whether the user who made a request on server is the author of the checked project

Parameters

project

: the checked project

userId

: the identifier of the user who made request