Admin Users
Certain operations require OpenOrchid Users, Bots, or ClientApplications to have administrative privileges. Users can be granted admin rights on a per-project basis: a given user can be an admin for one project, but not another.
OpenOrchid distinguishes between two different types of admin user: project admin and super admin.
Project Admin
A user with administrative privileges in a Project. A project can contain several application tenants, so project-admin authority is broader than administration of one tenant. Use controlled administrative workflows when tenant staff need limited actions within a shared project. See Tenancy Design.
See our User Management Guide for more information on how to grant project admin privileges.
Project Admins have the following privileges:
- Invite / remove users - See our User Management Guide for mor information
- Create Bots - See our guide on Bots to learn how to create and write Bots
- Manage tenant account assignments - Use
$set-accountsto setmeta.accounts. The server includes these references inmeta.compartment; access policies determine who can access the assigned resources. - View Administrative Resources - The following OpenOrchid resource types are only accessible to project admin Users,
Bots, orClientApplications:Project- used to adjust Project settingsProjectMembership- used to manage user registration and privileges (see: User Management Guide)UserSecurityRequest- used to send custom emailsUser- only for project scoped users
- Impersonate users - Project Admins are allowed to make API calls on behalf of other users
If you want to limit these privileges, you can apply Access Policies to your Admin users. See the Access Policies docs for more details.
Super Admin
A super admin user has an increased level privileges for performing server-level operations. This level of privilege can cause irreparable data changes, and should be limited to system administrators.
To grant a user super admin privilege, invite them to the Super Admin project (see this guide for more details).
Project Admins have the following privileges:
- Overwrite all resource fields - Super admin users bypass all data validation checks, and can edit protected fields like
idandmetaproperties. - Rebuild shared data structures - Certain shared resources, such as
StructureDefinitionsandValueSets, sometimes need to be built after some server updates. See the Super Admin Guide for more details. - Create projects via API - Because
Projectsare system-level resources, creating them via API requires the creation of a Super AdminClientApplication