> For the complete documentation index, see llms.txt.
Skip to main content

Check out Port for yourself ➜ 

Govern data access

Port provides granular control to ensure that every user only sees the parts of the catalog that are relevant to them.

Port's catalog RBAC capabilities are enabled by utilizing permissions controls.

Page permissions

In order to manage who can view certain pages in Port, check out page permissions.

Common usage

The catalog RBAC mechanism allows admins to finely control which users have access to specific information in the software catalog, for example:

  • Allow a user to edit a single specific property on an entity.
  • Create a fully read-only view for a developer.
  • Allow users to create, edit, and delete only entities owned by their team.
  • Restrict entity visibility to users whose team matches the entity's owner team.
  • Allow only users with the on-call property set to true to edit entities owned by their team.

Set access controls for catalog data

The default permissions assigned to every blueprint upon creation specify that users with the admin role and users with the specific blueprint moderator role can edit the blueprint itself and manage its permissions.
See RBAC permissions for more information about the different roles.

The permissions described below control access to blueprint entities and their properties, not to the blueprint structure or permissions configuration itself. You can control who reads, creates, updates, or deletes entities, and who can view or edit specific properties within those entities.

It is possible to assign global permissions controls for a blueprint's entities and properties, using the following steps:

  1. Go to the Context lake page of your portal.

  2. Select your desired blueprint, click on the ... button in the top-right corner, and select Permissions:

  3. A dialog will open with two tabs:

    • Entities tab - set entity-level permissions (who can read, create, update, or delete entities)
    • Properties tab - set property-level permissions (who can update or view specific properties)

You can also manage these permissions via the Port API, Terraform, or Pulumi. Terraform and Pulumi support roles, users, teams, team ownership (owned_by_team), and update property/relation scopes. Advanced dynamic policies (policy) are not supported in those providers yet - configure them in the UI or via the API.

The Entities tab controls who can read, create, update, or delete entities. Configure entity-level access below by role, user/team, entity ownership, or dynamic policy.

This section allows you to assign permissions for a role (Member, Admin or Moderator).

Click on the dropdown in the desired role row and select the permissions that will be assigned to it.

Blueprint permission dropdown Read option

Edit via JSON (click to expand)

To edit permissions via JSON, click on the Edit JSON button in the top-right corner of the dialog.

To give permissions to a role, add it to the roles array in the permission scope you desire (read, register, unregister, or update):

{
"entities": {
"read": {
"roles": ["myBlueprint-moderator", "Admin", "Member"],
// ...other permissions
},
"register": {
"roles": ["myBlueprint-moderator", "Admin", "Member"],
// ...other permissions
},
"unregister": {
"roles": ["myBlueprint-moderator", "Admin", "Member"],
// ...other permissions
},
"update": {
"roles": ["myBlueprint-moderator", "Admin", "Member"],
// ...other permissions
},
"updateProperties": {
"$identifier": {
"roles": ["myBlueprint-moderator", "Admin", "Member"],
// ...other permissions
}
// ...other properties
},
"updateRelations": {
"service": {
"roles": ["myBlueprint-moderator", "Admin", "Member"],
// ...other permissions
}
// ...other relations
}
}
}
Affected components

Setting read permissions on entities takes effect at the API level, meaning that any component in Port that fetches entities will be affected by these permissions.
For example, a table widget that displays entities will only show entities that the user has read permissions for.

Permission simulator

The permission simulator allows you to test and validate blueprint permissions before saving them.
You can simulate read, register (create), update, and unregister (delete) access for any user in your organization and quickly understand why access is granted or denied.

Use the simulator

  1. Go to the Context lake page, open a blueprint, and click Permissions.
  2. In the Permission Simulator section at the bottom of the page, select:
    • A user from your organization.
    • An operation: read, register (create), update, or unregister (delete).
  3. Review the results table to see all entities the selected user can access for the selected operation.
  4. (Optional) Select a specific entity to open the detailed access breakdown.
  5. In the detail view, review:
    • The visual flow (user → granted/denied → entity).
    • Which checks passed or failed.
    • The exact check that granted access (if access is granted).
Test changes before saving

The simulator evaluates pending permission changes from the form, not only the saved configuration.
This lets you verify impact in real time before applying your changes.

How permissions are evaluated

The simulator evaluates five checks. Access is granted if any one of the following checks passes:

  1. Role check - verifies whether the user's role is included in the operation's allowed roles.
  2. Owned by team - when ownedByTeam is enabled, verifies whether the user belongs to at least one team in the entity's $team.
  3. Team list - verifies whether the user belongs to any team listed in the operation's teams.
  4. User list - verifies whether the user is explicitly listed in the operation's users.
  5. Policy - verifies whether the entity matches the configured policy query.

When access is granted, the simulator indicates the granting path, for example: "Has role Admin which allows this operation".
For policy-based access, the evaluated query is also displayed.

Software catalog RBAC examples

Refer to the examples page for practical examples of Port's RBAC.

FAQ