Skip to main content

Check out Port for yourselfย 

Page permissions

Page permissions are used to control access to catalog pages and dashboard pages in the software catalog.

Using these permissions, you can control which users and/or teams can view or edit a specific page.

Update page permissionsโ€‹

Only users with the admin role can update the permissions of a catalog page.

Admins can:

  • Define which users and/or teams can view the page.
  • Define which users and/or teams can edit the page.
  • Allow all users in the organization to view the page.

Update page permissions using one of the following methods:

Click on the permissions button in the top-right corner of the page.

Choose the user/s or team/s that you would like to give view or edit permissions to, then click on Done.

To allow all users in the organization to view the page, use the toggle in the bottom of the permissions modal.

Examplesโ€‹

Let's present a set of page permissions and then explore how different PATCH request bodies change the effective permissions of the page.

Given the following permissions for a page:

{
"read": {
"roles": ["Admin", "Member"],
"users": [],
"teams": []
}
}

Add permissions to roleโ€‹

Making an HTTP PATCH request with the following body will give the Services-Moderator role permissions to view the page (without removing the permissions of any existing role):

{
"read": {
"roles": ["Admin", "Member", "Services-Moderator"]
}
}

Remove permissions from roleโ€‹

Making an HTTP PATCH request with the following body will remove the Member roles' permissions to view the page:

{
"read": {
"roles": ["Admin"]
}
}

Add permissions to userโ€‹

Making an HTTP PATCH request with the following body will give the specified users permissions to view the page (without changing the permissions of existing roles):

{
"read": {
"users": ["exampleUser1@example.com", "exampleUser2@example.com"]
}
}

Add permissions to teamโ€‹

Making an HTTP PATCH request with the following body will give the specified teams permissions to view the page (without changing the permissions of existing roles):

{
"read": {
"teams": ["team1", "team2"]
}
}
info

It is possible to update multiple permission keys (roles, teams and/or users) in a single PATCH request, just keep in mind that any role, team or user that is not specified and previously had permissions to the page, will lose those permissions.

Lock pagesโ€‹

Locking the page affects widgets that have Filter and/or Hide functionality.

See the section below for the different methods to lock a page:

Users that have permissions to update a page (usually users with the admin role) can lock the page's widgets.

  1. Save the page in the desired view by clicking the save page button.
  2. Open the page menu and click on lock page.

A locked page will have the Lock icon next to the page's title: