Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

* = this is an association, the object identifier is going to be the first part of the association, so for example, an organization study object is identified by its organization. Study participants permissions are identified by the

Model/Association/Verb

Permission

Meaning

OrganizationVIEW

userId ∈ {organization:orgId view}

Can view information about the organization.EDIT

userId ∈ {organization:orgId edit}

Can edit the organization

ADMIN

Can add/remove members of the organization as well as edit userId ∈ {organization:orgId admin}

Can edit permission for the organization

OrganizationStudies

LISTSponsoredStudies *

userId ∈ {sponsoredstudies:orgId list}

Can see the studies sponsored by the organization

OrganizationMembers

LISTMembers *

userId ∈ {members:orgId list}

Can see the members of an organization

OrganizationAssessments

LIST

userId ∈ {members:orgId admin}

Can create/add/remove members

Assessments *

userId ∈ {assessments:orgId list}

Can view the assessments of an organization

StudyVIEW

userId ∈ {study:studyId view}

Can view a study Study (not its participants).

EDITuserId ∈ {study:studyId edit}

Can view or edit the Study

userId ∈ {study:studyId admin}

ADMIN

Can edit permissions for the Study

userId ∈ {study:studyId pi}

Can move the study from design to recruitment.

StudyParticipants *LIST

userId ∈ {participants:studyId list}

Can view a list of the participants AccountSummaries in this study (AccountSummary objects)VIEW

userId ∈ {participants:studyId view}

Can view a study participant’s information

EDIT

Can edit the study participant’s information

ADMINStudyParticipant

userId ∈ {participants:studyId edit}

Can view or edit StudyParticipant

userId ∈ {participants:studyId admin}

Can create accounts and enroll/withdraw them in from the study.

AssessmentVIEW

userId ∈ {assessment:guid view}

Can view an assessmentEDIT

userId ∈ {assessment:guid edit}

Can view or edit an assessmentADMIN

userId ∈ {assessment:guid admin}

Can edit permissions for the assessment

...