getEnrollmentAccess

abstract fun getEnrollmentAccess(trackedEntityInstanceUid: String, programUid: String): Single<EnrollmentAccess>

Evaluates the access level of the user to this program and trackedEntityInstance.

It checks the data access level to the program, the program access level (OPEN, PROTECTED,...) and the enrollment orgunit scope (SEARCH or CAPTURE).