Versions Compared

Key

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

...

Code Block
languagejava
class Permission {
  String guid; // synthetic key makes create/add/update APIs easier
  String appId;
  String userId;
  String role; // "admin", "developer"
  String objectType; // "study" or, "organization", "app", "organizationsystem"
  String objectId; // "appId:studyId", or"orgId", "appId:groupId"
  boolean transitive; // e.g. true if permission comes from org membership
}

...