For an introduction to Access Control concepts, see Access Control Overview.
Enabling Access Control
Access Control is configured by creating access control groups. Each group has a name, the resource roles it can access, and the attributes it applies to. You can either create these groups directly in the Web App or sync them from your identity provider.Step 1: Open Access Control
In the Web App, open the Discover section in the sidebar and select Access Control.Step 2: Create an Access Control Group
Click to create a new access control group and fill in:Resource Role configuration
Under Resource Roles, select which resource roles this group should have access to. You can add as many resource roles to a group as you need.
Attribute configuration
Under Attributes, select which attributes this group should have access to. See ABAC for how attributes refine access.
Step 3: Verify Access
After creating a group, confirm the policy behaves as expected:- Log in as a user in the group
- Verify you can see and access the assigned resource roles
- Log in as a user not in the group
- Verify those resource roles are not visible
Group Management
Creating Groups
Groups can be created in two ways: Option A: In the Web App Create access control groups directly in Discover > Access Control, as described in Enabling Access Control. Each group defines its name, the resource roles it can access, and its attributes. Option B: Sync from Identity Provider Groups can be automatically synced when users log in:- Configure your IdP to include
groupsclaim in the ID token - Users’ groups are synced on each login
- See Identity Provider Configuration
Built-in Groups
| Group | Description | Permissions |
|---|---|---|
admin | Administrators | Full access to all resource roles and settings |
auditor | Audit access | Read-only access to sessions and logs |
Admin users bypass Access Control and can access all resource roles regardless of group configuration.
Group Naming Conventions
Recommended naming patterns:| Pattern | Example | Use Case |
|---|---|---|
| Environment | prod-access, staging-access | Environment-based access |
| Team | engineering, analytics, support | Team-based access |
| Role | dba, developer, viewer | Role-based access |
| Combined | prod-dba, staging-dev | Specific combinations |
Permission Types
Resource Role Visibility
When Access Control is enabled on a resource role:| User’s Groups | Resource Role Visibility |
|---|---|
| In allowed groups | Resource role is visible and accessible |
| Not in allowed groups | Resource role is hidden completely |
| Admin group | Always visible (bypasses Access Control) |
Combining with Access Requests
Access Control and Access Requests work together:| Access Control | Access Requests | Result |
|---|---|---|
| Allowed | Not enabled | Direct access |
| Allowed | JIT enabled | Must request time-based access |
| Allowed | Action enabled | Each command needs approval |
| Not allowed | Any | Resource role not visible |
Configuration Patterns
Pattern 1: Environment-Based
Separate access by environment:Pattern 2: Team-Based
Each team accesses their own resources:Pattern 3: Read/Write Separation
Create separate resource roles with different access levels:Pattern 4: Contractor Access
Limited access for external contractors:Identity Provider Integration
Syncing Groups from IdP
To automatically sync groups from your identity provider:-
Configure IdP to include groups claim:
In your IdP (Okta, Auth0, Azure AD, etc.), configure the OIDC application to include a
groupsclaim in the ID token. -
Set environment variables on gateway:
Or for custom claim names:
- Groups sync on login: When users log in, their groups are automatically synced from the IdP.
Provider-Specific Guides
Okta
Configure Okta group sync
Auth0
Configure Auth0 group sync
Azure AD
Configure Azure AD group sync
Configure Google Workspace groups
Auditing Access
Viewing User Permissions
To see what a user can access:- Go to Manage > Users
- Click on a user
- View their group memberships
- Cross-reference with resource role configurations
Access Logs
All access attempts are logged:- Go to Sessions
- Filter by user or resource role
- See successful connections and denied attempts
Exporting Access Report
Generate a report of who can access what:Troubleshooting
User Can’t See a Resource Role
Checklist:-
Is Access Control enabled on the resource role?
- Go to resource role settings
- Check if Access Control toggle is on
-
Is the user in an allowed group?
- Go to Manage > Users
- Check user’s group memberships
- Verify groups match resource role’s allowed groups
-
Has the user logged out and back in?
- Groups sync on login
- Have user log out and log in again
-
Is the IdP sending groups correctly?
- Check IdP configuration
- Verify
groupsclaim in ID token
User Sees Resource Role But Can’t Connect
This is likely NOT an Access Control issue. Check:- Access Requests: Is JIT or Action approval required?
- Guardrails: Are there blocking rules?
- Resource role status: Is the agent online?
Groups Not Syncing from IdP
Check:- IdP is configured to include
groupsclaim IDP_GROUPS_CLAIMenvironment variable is set correctly- User has groups assigned in the IdP
- Gateway was restarted after configuration
- Decode the ID token to verify
groupsclaim is present - Check gateway logs for group sync errors
Best Practices
Start Restrictive
Begin with minimal access and expand as needed
Use Groups, Not Users
Always assign access to groups, never individuals
Document Policies
Maintain a document of who should access what
Regular Reviews
Audit access quarterly
Before Enabling Access Control
- Inventory all resource roles
- Identify who needs access to each
- Create groups in IdP or Hoop
- Assign users to groups
- Document the access policy
- Test with a non-production resource role first
Quarterly Access Review
- Export current access configuration
- Review with team leads
- Remove departed employees
- Verify contractor access is time-limited
- Update documentation
Related
Access Control Overview
Learn Access Control concepts
Identity Providers
Configure SSO and group sync
Access Requests
Add approval workflows
Managing Access
User and group management in Web App