The functions below ONLY need to exist for roles that are "defaulted" in some way. Any other roles (like auditor), can be listed and let the user select/assigned. Once we have a database implementation, the "default" roles can be defined on the site and orgs, and these functions can be removed.
()
| 135 | // site and orgs, and these functions can be removed. |
| 136 | |
| 137 | func RoleOwner() RoleIdentifier { return RoleIdentifier{Name: owner} } |
| 138 | func CustomSiteRole() RoleIdentifier { return RoleIdentifier{Name: customSiteRole} } |
| 139 | func CustomOrganizationRole(orgID uuid.UUID) RoleIdentifier { |
| 140 | return RoleIdentifier{Name: customOrganizationRole, OrganizationID: orgID} |
no outgoing calls