Skip to main content

Manage folder access policies

Early access

Folder access policies are in early access. Contact your Coralogix account representative to request access.

This page covers the work: preparing your account, creating a policy, enforcing one policy across a folder's dashboards, and moving things without cutting people off. For the model behind it, see Folder access policies.

Before you start: protect your API keys and roles​

Folder access policies are enforced in the UI, the API, Terraform, the Kubernetes operator, the CLI, and in scripts. A key or role that lacks the folder permissions loses access to every dashboard inside a folder the moment policies are switched on, which is why this comes first.

This is also the answer to whether enabling folder policies breaks your Terraform. It can, for keys and custom roles built from hand-picked permissions.

  • API keys, in your account's API key settings. Add DASHBOARD-FOLDER:VIEW to every key that reads, creates, or edits dashboards that live in folders. Add DASHBOARD-FOLDER:MANAGE only to keys that create, rename, move, or delete folders: putting a dashboard into a folder does not need it. Keys created from the Dashboards preset already include the folder permissions, but keys with hand-picked permissions need them added.
  • Custom roles, in your account's role settings. Add DASHBOARD-FOLDER:VIEW to roles that view or edit dashboards, and DASHBOARD-FOLDER:MANAGE only to roles whose users should organize folders. Groups take their permissions from their roles, so you don't need to change the groups themselves.
  • Folder sharing. Grant the account-wide access-policy permissions only to the people who should control who sees folders. They reach every folder's policy, including folders nobody else can.
  • Automation. When you turn on a folder's dashboard override, leave Keep access to these dashboards for automation (all team API keys) on unless you mean to cut team API keys off from those dashboards. Personal API keys act as their user and follow that user's access.

When folder access policies are switched on for your team, existing folders stay Public, so nobody's access changes on day one. Your dashboards and your Terraform code don't change either. What does change is that users and API keys need the folder permissions in their role.

What you need​

  • DASHBOARD-FOLDER:VIEW to see a folder, and DASHBOARD-FOLDER:MANAGE to create, rename, move, and delete folders.
  • DASHBOARD-FOLDER:READACCESSPOLICY to view a folder's access policy, and DASHBOARD-FOLDER:UPDATEACCESSPOLICY to change it.
  • TEAM-GROUPS:READCONFIG to see your team's groups when you add a rule.

For the full tables and what each access level grants, see Permissions and troubleshooting.

Create a folder access policy​

You set a folder's policy when you create the folder, and you can change it at any time afterwards. For worked examples, see Common setups.

  1. In the Dashboards list, hover over the folder, select the More actions menu, then select Manage access.
  2. Under Folder access policy, select a mode:
    • Public: everyone in the team with role-based access can view and edit the folder. Inside another folder, that means everyone who can view the parent folder.
    • Private: only you can view and edit the folder.
    • Advanced: you set the access per group.
  3. In Advanced mode, under Apply to target groups, add a group and set Folder: None, Folder: View, or Folder: Manage. Your own Creator (you) row is fixed at Folder: Manage: as the creator you always keep full access to the folder and its policy.
  4. Under General access, set the default level for everyone else.
  5. Optional: turn on Policy permissions to let other groups view or change this policy. See Policy permissions.
  6. Optional: expand Advanced folder policies to set one policy for the folder's dashboards. See Folder-level enforcement.
  7. Select Apply, or Save when you are creating a new folder. If the change removes access from anyone, Coralogix asks you to confirm first.
Note

The confirmation doesn't name users or give a count, because you may not be allowed to see who has access. Changes that only grant access save without asking.

The folder access policy in Advanced mode, with the creator row fixed at Folder Manage and Policy Edit, a target-group rule, and a General access row

Folder-level enforcement​

The dashboard policy override puts one policy on every dashboard directly inside a folder, existing and new. Use it to make a set of dashboards read-only, to keep a group out of all of them, or to stop authors resharing dashboards you govern. Read-only dashboards for a wide audience is the worked example.

  1. Open the folder's settings as in Create a folder access policy step 1, then expand Advanced folder policies.
  2. Turn on Override dashboards policies in this folder. The Policy for dashboards in this folder section opens.
  3. Under Who can access this Dashboard, select Public, Private, or Advanced. In Advanced, add groups under Apply to target groups with Dashboard: None, Dashboard: Read, or Dashboard: Manage, then set General access.
  4. Select Apply.

To make sure automated processes keep their access to the dashboards in this folder, leave Keep access to these dashboards for automation (all team API keys) on. It is on by default, and it keeps team API keys reaching the dashboards while the override applies. Their role permissions and the folder's own access checks still apply.

While the override is on:

  • It applies to everyone, including the people who created the dashboards.
  • Each dashboard's own policy is suspended. In that dashboard's settings, the access section becomes read-only and shows a banner naming the folder that decides access.
  • It does not reach dashboards in subfolders. A subfolder needs its own override.
  • Only people who can view the folder reach its dashboards at all.

Turn the override off and every dashboard's own policy comes back exactly as it was. Nothing is deleted. A dashboard's own policy also comes back if you move that dashboard out of the folder.

Note

Read-only limits how a group uses these dashboards. It does not limit what those users reach elsewhere in Coralogix, such as Explore, which their role and their other access policies still govern. Allow only time filters, which restricts read-only viewers to changing the time range, is set on an individual dashboard's own policy rather than in the override.

Advanced folder policies with the override turned on, showing the Policy for dashboards in this folder section, a Dashboard Manage level, and the automation toggle enabled

Change and remove dashboards and folders​

Move a dashboard​

Moving a dashboard means changing which folder holds it, which can change who reaches it.

Anyone who can view the folder and edit dashboards can add a dashboard to it. If the folder overrides its dashboards' policies, that override must also grant them Dashboard: Manage.

To move a dashboard you need to be able to manage the dashboard and view the target folder.

Change Add to folder in the dashboard's settings, or drag the dashboard onto a folder in the Dashboards list. Coralogix warns you that the move might change who can access the dashboard, and asks you to confirm before it applies.

If the target folder overrides its dashboards' policies, that override replaces the dashboard's current access and must give you Dashboard: Manage. Some people may lose access as a result, including the dashboard's creator. Moving a dashboard out of a folder that has an override needs permission to change that override.

Move a folder​

Moving a folder means re-parenting it. The folder keeps its own policies, but who can see it may change, because its new parents may be restricted. Coralogix asks you to confirm.

To move a folder you need:

  • Folder: View and Folder: Manage on the folder and on every subfolder inside it. You can't move a folder if you can't view any of its subfolders.
  • Folder: View and Folder: Manage on the target folder.
  • Folder: Manage on the folder it is moving out of.

Change Parent folder in the folder's settings, or drag the folder onto its new parent in the Dashboards list.

Nest and delete​

Nesting means putting a folder inside another, which is how access narrows as you go deeper. Folders can be nested several levels deep.

You can delete only empty folders. Move or delete a folder's contents first.

Common setups​

Three setups that cover most of what teams ask for. Each one starts from the folder's settings.

A private area for one team​

Use this when a team needs somewhere its own work is not visible to the rest of the account, for example a Payments folder that only the payments engineers see.

Select Advanced, add the Payments group with Folder: Manage, and set General access to Folder: None. Everything inside, subfolders included, is visible only to that group.

Still reaching it: the folder's creator, anyone with the account-wide access-policy permissions, and team API keys while the automation toggle is on. Dashboards owned by restricted-group members stay restricted to that group, whatever the folder's policy says.

Let a team lead manage sharing without making them an admin​

Use this when the person who should decide who reaches a folder is not the person who created it, for example a team lead who owns the Payments folder day to day.

Select Advanced, add the team lead's group with Folder: Manage, then turn on Policy permissions and set that same group to Policy: Edit. They can change the folder, and change who else can reach it, without holding the account-wide access-policy permissions that would let them edit every folder in the account.

You keep Policy: Edit yourself: as the creator you always have full access to a folder you made and to its policy.

Read-only dashboards for a wide audience​

Use this when a set of dashboards should be readable by many people but editable by few, for example an Executive folder that a BI team maintains and everyone else consults.

Turn on Override dashboards policies in this folder, give General access Dashboard: Read, and add the BI group with Dashboard: Manage. Every dashboard in the folder, existing and new, is read-only for its audience except for BI.

The audience also needs access to the folder and to the folders above it. Team API keys keep access while the automation toggle is on, and dashboards owned by restricted-group members stay restricted to that group. Dashboard creators are not an exception: the override applies to them too.

Next steps​

Look up a permission or an error message in Permissions and troubleshooting, or revisit the model in Folder access policies.

Last updated on