Create a Custom Role
API7 Enterprise starts with a locked-down Super Admin
role and policy granting full access for initial setup. The default admin
account is permanently tied to this role for emergency recovery.
With custom roles, you can create a granular permission system tailored to your specific needs. This tutorial will guide you through the process of defining custom roles in API7 Enterprise, empowering you to manage access control with greater precision.
This tutorial showcases a custom role with view-only access to production gateway group and full access (view & edit) to test gateway group. You will complete the following steps:
- Create two permission policies, one to define the view-only permission to production gateway group, and another to define the full access to test gateway group.
- Create a custom role
Development Team Member
attached to the above two permission policies.
Prerequisites
- Install API7 Enterprise.
- Have two gateway groups for test and production environments with at least one gateway instance in each group.
- Have a published service in both two gateway groups for validation use.
- (Optional) Learn permission policy examples.