Reading:
Take control of AI with RBAC

Take control of AI with RBAC

Matt Fellows
Updated

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:

  1. Your account was created before the AI feature launched in September 2024, or
  2. 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:

Editing the User role to allow all AI capabilities (the ai:* permission)

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.

Introducing PactFlow’s new user experience
14 August 2024

Introducing PactFlow’s new user experience

Meet PactFlow's new UI - beautiful, simple, intuitive, and blazing fast, the new user experience is optimized around our recommended best practices.

2 min read

Level Up Your Workflow: New PactFlow UI (beta)!
26 July 2024

Level Up Your Workflow: New PactFlow UI (beta)!

PactFlow's new application-centric user interface is here.

1 min read

Integrate Deeper with our Developer API 🧿
22 November 2023

Integrate Deeper with our Developer API 🧿

Announcing the launch of PactFlow’s Developer API.

3 min read

arrow-up icon