Fine-grained control over PactFlow's AI capabilities is here.
Up until now, PactFlow offered a simple on/off toggle for enabling AI features in your workspace. By default, AI was disabled, allowing customers to safely vet the capabilities and navigate internal compliance processes before granting access.
But let's face it: a binary system isn’t always enough. Some teams need more flexibility—whether it’s granting pilot teams early access to evaluate features or restricting certain inputs into the Pact test generation.
Introducing RBAC for AI
Today, we're thrilled to announce that PactFlow's Role-Based Access Control (RBAC) model now extends to our AI features! With this update, we've added several new permissions to give you precise, granular control over who can access specific AI capabilities.
For example, you might want to allow users to upload OpenAPI descriptions for generating tests while blocking them from uploading sensitive code. Or maybe you'd like to let a small pilot team try code uploads while keeping the rest of the team on hold. With these new permissions, you’re fully in control.
What's new?
The new permissions include:
ai:*
- Provides access to all AI-related features, including all future permissions created under the
ai:
scope.
ai:generation:*
- Allows users to generate Pact tests from all current and future supported inputs.
ai:generation:openapi
- Allows users to generate Pact tests based on user-provided OpenAPI descriptions.
ai:generation:code
- Allows users to generate Pact tests based on user-provided client code.
ai:generation:request-response
- Allows users to generate Pact tests based on recorded request-response pairs.
For detailed information, refer to the permissions documentation.
Getting started
By default, users assigned the User role already have access to all AI permissions (ai:*
) unless:
- Your account was created before the AI feature launched in September 2024, or
- You’ve customized your role configurations.
To assign AI permissions to a role, simply add the relevant permissions using the UI or API. For example, the User role can be granted the ai:*
permission, as shown below:
Available Now
RBAC for AI is available to all customers on all plans starting today! Dive into our AI documentation to get started and fine-tune access for your teams.