Access Control
Visualize permissions, discover APIs, track lineage, and use templates for FlowGenX access management
FlowGenX provides advanced access control tools to visualize permissions, discover APIs, track access lineage, and apply pre-configured templates for common security scenarios.
Overview
Visual Access Management
Comprehensive tools for managing API access permissions with visual matrix, catalog discovery, lineage tracking, and reusable templates.
The access control system includes four main tools:
- Access Matrix: Visual permission grid showing consumer-route relationships
- API Catalog: Discover and manage API endpoints across your services
- API Lineage: Track which groups and consumers access specific routes
- Templates: Pre-configured access patterns for common use cases
Access Matrix
The Access Matrix provides a visual grid showing which consumers have access to which API routes, with the ability to grant or revoke access directly.
Features
Interactive Permission Grid
Click on any cell in the matrix to instantly grant or revoke access for a consumer to a specific route.
Capabilities:
- Visual Overview: See all permissions at a glance
- Quick Toggle: Click to grant/revoke access
- Search & Filter: Find specific consumers or routes
- Protected Routes: Highlight security-critical endpoints
- CSV Export: Download permission matrix for auditing
- Real-time Updates: Changes apply immediately
Using the Access Matrix
Step 1: Navigate to Access Matrix
- Go to ACL Management → Access Control → Access Matrix
- View the permission grid with:
- Rows: Consumers
- Columns: API Routes
- Cells: Green checkmark (has access) or red X (no access)
Step 2: Search and Filter
| Filter | Description |
|---|---|
| Search Bar | Filter by consumer username or route path |
| Protected Routes Only | Show only security-critical routes |
| Environment | Filter by deployment environment |
Step 3: Grant/Revoke Access
- Locate the consumer (row) and route (column)
- Click the cell intersection
- Access is toggled instantly:
- ✓ Green: Access granted
- ✗ Red: Access revoked
- Changes sync to Kong API Gateway immediately
Matrix Statistics
The dashboard displays:
| Metric | Description |
|---|---|
| Total Consumers | Number of API consumers |
| Total Routes | Number of API routes |
| Protected Routes | Routes marked as security-critical |
| Access Grants | Total active permissions |
Viewing Details
Consumer Details:
- Click consumer name to view profile
- See all routes the consumer can access
- Review group memberships
Route Details:
- Click route name to view details
- See all consumers with access
- Check HTTP methods allowed
- Review protection status
Exporting Data
CSV Export:
- Click Export button
- Matrix downloads as CSV file
- Format:
Consumer, Route1, Route2, Route3... user-1, Yes, No, Yes user-2, No, Yes, Yes
Use cases:
- Compliance audits
- Permission reviews
- Documentation
- Offline analysis
Best Practices
✓ Review the matrix regularly for over-permissioned consumers ✓ Use protected route filter to audit critical endpoints ✓ Export matrix monthly for compliance records ✓ Search by consumer to review individual access ✓ Revoke unnecessary permissions immediately ✓ Document permission changes in audit logs
API Catalog
The API Catalog provides a comprehensive view of all API endpoints across your services, making it easy to discover, browse, and manage routes.
Features
API Discovery & Management
Browse all API endpoints, view details, and add routes to ACL groups for access control.
Capabilities:
- API Discovery: Browse all services and endpoints
- Hierarchical View: Organize by API or view all endpoints
- Endpoint Details: View path, method, description
- Bulk Selection: Select multiple endpoints at once
- Add to Groups: Grant access by adding routes to groups
- Group Associations: See which groups already have access
- Method Filtering: Filter by HTTP method (GET, POST, etc.)
- Search: Find endpoints by path or name
View Modes
The catalog supports three view modes:
| Mode | Description | Best For |
|---|---|---|
| By API | Group endpoints under their parent API | Organized browsing |
| By Endpoint | Flat list of all endpoints | Quick searching |
| Flat | Simple list view | Bulk operations |
Browsing the Catalog
Step 1: Navigate to API Catalog
- Go to ACL Management → Access Control → API Catalog
- View all APIs and their endpoints
Step 2: Filter and Search
Use filters to narrow down results:
- Search: Enter endpoint path or API name
- View Mode: Switch between By API, By Endpoint, or Flat
- HTTP Method: Filter by GET, POST, PUT, DELETE, PATCH
- Status: Active or inactive APIs
- Environment: Filter by deployment environment
Step 3: Browse Endpoints
In By API view:
- Click API name to expand
- View all endpoints under that API
- See HTTP method, path, and description
- Check which groups have access (badge indicators)
Adding Routes to Groups
Bulk Permission Assignment
Select multiple endpoints and add them all to a group at once for efficient permission management.
Step 1: Select Endpoints
- Individual Selection: Check boxes next to specific endpoints
- API Selection: Check API box to select all endpoints (with wildcard)
- Wildcard Suffix: Choose
**(all sub-paths) or*(exact match)
Step 2: Add to Group
- Click Add Selected to Group button
- Modal opens showing:
- Selected endpoints count
- List of selected routes
- Choose target group from dropdown
- Filter groups by environment if needed
- Click Add to Group
Step 3: Confirm
- Selected routes are added to group's allowed routes
- All consumers in that group gain access
- Changes sync to gateway immediately
Endpoint Details
Click any endpoint to view details:
Endpoint Information:
- Full path with wildcards
- HTTP methods supported
- API parent
- Description
- Status (active/inactive)
Access Information:
- Groups with access (badges)
- Total consumers with access
- Protection level
Actions:
- Copy path to clipboard
- Add to group
- View in API documentation
Catalog Statistics
Dashboard displays:
| Metric | Description |
|---|---|
| Total APIs | Number of API services |
| Total Endpoints | Number of endpoints across all APIs |
| Active APIs | Currently active services |
| Methods Distribution | Breakdown by HTTP method (GET, POST, etc.) |
Best Practices
✓ Use By API view for organized browsing ✓ Use search for finding specific endpoints ✓ Select entire APIs with wildcards for broad access ✓ Select individual endpoints for fine-grained control ✓ Review group associations before adding routes ✓ Document endpoint purposes in descriptions ✓ Keep API metadata up to date
API Lineage & Access Tracking
API Lineage visualizes which groups and consumers have access to specific routes, providing complete traceability of permissions.
Features
Permission Traceability
Track the complete chain from route to group to consumer, understanding exactly who has access and why.
Capabilities:
- Route-Centric View: Start with a route and see all access
- Group Associations: Which groups grant access
- Consumer List: All consumers via those groups
- Access Type: Allowed or denied routes
- Expandable Cards: Drill down into details
- Revoke Access: Remove consumers from groups
- Environment Filtering: Isolate by deployment stage
Understanding Lineage
The lineage chain works as follows:
Route → Groups with Access → Consumers in Those GroupsExample:
/api/users (GET)
├─ Group: api-readers
│ ├─ Consumer: mobile-app
│ └─ Consumer: web-frontend
└─ Group: admin-access
└─ Consumer: admin-dashboardUsing API Lineage
Step 1: Navigate to API Lineage
- Go to ACL Management → Access Control → API Lineage
- View list of all routes with access controls
Step 2: Filter Routes
| Filter | Description |
|---|---|
| Search | Find routes by path |
| HTTP Method | Filter by GET, POST, PUT, DELETE, PATCH |
| Access Type | Allowed routes, Denied routes, or All |
| Environment | Filter by deployment environment |
Step 3: Expand Route Details
- Click on any route card to expand
- View sections:
- Route Information: Path, method, access type
- Groups with Access: All groups that grant this route
- Consumers: All consumers via those groups
Route Card Structure
Each route card shows:
Header:
- HTTP method badge (GET, POST, etc.)
- Route path
- Access type (Allowed/Denied)
- Group count
Expanded View:
Groups Section:
- Group names
- Group display names
- Number of consumers per group
- Click to view group details
Consumers Section:
- Consumer username
- Consumer display name
- Department (if set)
- Email (if set)
- Which group grants access
- Actions:
- View consumer details
- Revoke access from group
Revoking Access
To remove a consumer's access to a route:
- Expand the route card
- Find the consumer in the list
- Click Revoke next to their group assignment
- Confirm the action
- Consumer is removed from that group
- They lose access to all routes granted by that group
Group Removal Impact
Removing a consumer from a group removes access to ALL routes granted by that group, not just the current route.
Use Cases
Security Audits:
- Review who has access to sensitive routes
- Identify over-permissioned consumers
- Track access to compliance-critical endpoints
Troubleshooting:
- Understand why a consumer has access
- Find which group grants specific permissions
- Trace access inheritance chains
Documentation:
- Document permission structures
- Generate access reports
- Explain access policies to stakeholders
Best Practices
✓ Review lineage for sensitive routes regularly ✓ Use search to quickly find specific routes ✓ Filter by access type to focus on allowed or denied ✓ Document group purposes in descriptions ✓ Revoke access through lineage for clear traceability ✓ Export lineage data for compliance documentation
Access Templates
Templates provide pre-configured access patterns for common use cases, making it easy to apply consistent permissions across groups.
Features
Reusable Access Patterns
Create, manage, and apply pre-configured permission sets for security, compliance, and operational scenarios.
Capabilities:
- Pre-configured Templates: Built-in templates for common scenarios
- Custom Templates: Create your own templates
- Template Categories: Security, Compliance, Operational, Custom
- Apply to Groups: Quickly configure groups using templates
- Clone Templates: Duplicate and modify existing templates
- Export/Import: Share templates across environments
- Version Control: Track template changes
Template Categories
| Category | Description | Examples |
|---|---|---|
| Security | High-security access patterns | Read-only access, admin-only routes |
| Compliance | Regulatory requirement templates | GDPR-compliant, HIPAA-secure, PCI-restricted |
| Operational | Common operational patterns | Monitoring access, deployment permissions |
| Custom | User-created templates | Team-specific, project-specific |
Creating a Template
Step 1: Open Create Modal
- Go to ACL Management → Access Control → Templates
- Click Create Template
- Template creation modal opens
Step 2: Configure Template
| Field | Description | Required |
|---|---|---|
| Name | Lowercase alphanumeric identifier | Yes |
| Display Name | Human-readable name | Yes |
| Description | Template purpose and usage | No |
| Category | Security, Compliance, Operational, Custom | Yes |
| Groups | Pre-configured group settings | No |
Step 3: Define Permissions
Configure the access pattern:
Route Permissions:
- Add allowed routes with wildcards
- Add denied routes
- Specify HTTP methods per route
Service Permissions:
- Add allowed services
- Add denied services
Restrictions:
- IP restrictions (optional)
- Time restrictions (optional)
Step 4: Save Template
- Review configuration
- Click Create Template
- Template is saved and ready to use
Using Templates
Apply Template to Group:
- Select a template from the list
- Click Apply button
- Choose target group from dropdown
- Click Apply Template
- Group configuration is updated with template settings
Preview Template:
- Click Preview on any template
- Modal shows:
- Template details
- Configured routes
- Configured services
- Restrictions (if any)
- Review before applying
Managing Templates
Clone Template:
- Click Clone on existing template
- Enter new template name
- Template is duplicated
- Edit the clone as needed
Export Template:
- Click Export on template
- JSON file downloads
- Share with team or save for backup
Import Template:
- Click Import button
- Select JSON file
- Template is created
- Review and apply as needed
Delete Template:
- Click Delete on template
- Confirm deletion
- Template is removed (cannot be undone)
Built-in Templates
FlowGenX includes several pre-configured templates:
Read-Only Access:
- Only GET requests allowed
- No POST, PUT, DELETE, PATCH
- Safe for external partners
Admin Full Access:
- All HTTP methods
- All routes
- No restrictions
- For administrative users
Monitoring Access:
- Read-only on monitoring endpoints
/health,/metrics,/status- For monitoring tools
API Consumer:
- Standard API access
- Common CRUD operations
- Rate limited
Template Statistics
View template usage metrics:
| Metric | Description |
|---|---|
| Total Templates | Number of available templates |
| Active Templates | Currently in use |
| By Category | Breakdown by security, compliance, operational |
| Most Used | Template with highest usage count |
Best Practices
✓ Create templates for repeated access patterns ✓ Use descriptive names and descriptions ✓ Document template purposes clearly ✓ Test templates in development before production ✓ Version control template changes ✓ Export templates for backup ✓ Review template usage periodically ✓ Delete unused templates to reduce clutter
Common Workflows
Onboarding a New Consumer
- Create Consumer in Tenant Management
- Check API Catalog to find required endpoints
- Apply Template (if standard pattern exists)
- OR Add Routes from catalog to group
- Verify Access in Access Matrix
- Review Lineage to confirm permissions
Reviewing Security for a Route
- Search Route in API Lineage
- Expand Card to see all access
- Review Groups with access
- Check Consumers via those groups
- Revoke Access if over-permissioned
- Export Matrix for documentation
Setting Up Team Access
- Create Group for team in Tenant Management
- Browse API Catalog for required endpoints
- Select Endpoints team needs
- Add to Group in bulk
- Add Consumers to group
- Verify Matrix shows correct access
Compliance Audit
- Export Access Matrix as CSV
- Review API Lineage for sensitive routes
- Check Templates used for compliance
- Generate Reports from Compliance section
- Document Findings from lineage tracking
Troubleshooting
Matrix Not Loading
Issue: Access matrix fails to load or shows errors
Solutions:
- Check backend service health
- Verify tenant ID is correct
- Refresh the page
- Check browser console for errors
- Ensure you have permissions to view matrix
Cannot Toggle Access
Issue: Clicking matrix cells doesn't grant/revoke access
Solutions:
- Verify you have admin permissions
- Check if consumer/route is active
- Ensure Kong gateway is synced
- Check for group-level denials
- Review browser network tab for API errors
Lineage Not Showing Consumers
Issue: Route card shows groups but no consumers
Solutions:
- Expand the groups section fully
- Check if consumers are assigned to those groups
- Verify environment filter matches
- Refresh the lineage view
- Check if consumers are active
Template Apply Failed
Issue: Cannot apply template to group
Solutions:
- Verify template is active
- Check group exists and is active
- Ensure no conflicting permissions
- Review template configuration
- Check backend logs for errors
Catalog Endpoints Missing
Issue: API Catalog doesn't show all endpoints
Solutions:
- Refresh catalog data
- Check environment filter
- Verify APIs are properly registered
- Ensure endpoints are marked as active
- Check API metadata is complete