...
Code Block | ||
---|---|---|
| ||
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 } |
...