> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/access-management/access-management/just-in-time-access/approving-access.md).

# Approving access

This page describes how to review and approve just-in-time access requests

This page walks you through the lifecycle of an access request and review.

* [#configuring-approvals](#configuring-approvals "mention")
* [#request-notifications](#request-notifications "mention")
* [#approving-and-denying-requests](#approving-and-denying-requests "mention")
* [#reviewing-requests](#reviewing-requests "mention")

## Configuring approvals

There are two ways to configure approvals with P0:

* Default approvals
* Access policies

### Default approvals

To use the default approvals, you must configure who can approve and revoke access requests. Do this on [p0.app](https://p0.app)'s "P0 Management" page, under "Access control".

<figure><img src="https://3783273641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQNwGQz62W737pY0FzVb%2Fuploads%2Fgit-blob-7c94a738f0d290a1f11a63600c8062b960380c47%2FP0-management1.png?alt=media" alt="P0 Management page showing the Access control section with Owners, Security Reviewers, Assessment Users and Assessment Viewers" width="563"><figcaption></figcaption></figure>

Configure *who* can approve access requests by entering approvers' emails in the "Security Reviewers" section. Approvers must have accounts in Slack using the same email addresses.

{% hint style="info" %}
Approvers' email addresses may be from outside your domain.
{% endhint %}

#### Two-party and one-party approvals

By default, a requestor cannot approve their own access requests. If you want to allow requestors to approve their own requests, allow one-party approvals.

#### Auto approvals

In addition to approvals by humans, P0 also allows you to automatically approve requests if the requestor is currently on-call on an escalation policy. See [Approval integrations](/integrations/approval-integrations.md) for more details.

#### Escalated approvals

In addition to normal approval flow, P0 allows the requestor to escalate the request using PagerDuty or Incident.io and notify on-call users to approve pending requests. See [Approval integrations](/integrations/approval-integrations.md) for setup details.

### Access policies

If you need more fine-grained control over approvals based on who is requesting access, and to what, use access policies. See [Configuring access policies](/policy-studio/policy-studio/configure-your-first-access-policy.md) for more details.

The remainder of this guide assumes your organization is using default approvals.

## Request notifications

When an access request is made, P0 creates an approval message in your Slack integration's configured channel.

<figure><img src="https://3783273641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQNwGQz62W737pY0FzVb%2Fuploads%2Fgit-blob-b197fcb32cd0ac7e0a67ec6d6f4ae29b3ee8841b%2Fimage%20(92).png?alt=media" alt="Slack approval message showing an access request with Approve, Deny, and Select expiry options" width="375"><figcaption></figcaption></figure>

With default approvals, P0 mentions the `@p0approvers` Slack group, which contains all configured approvers.

If you use access policies with directory group approvers, P0 instead DMs each approver with a link to the approval message.

## Approving (and denying) requests

To **Approve** this request, first choose an access duration from the "Select expiry" dropdown, then click "Approve".

{% hint style="warning" %}
If you are not in the P0 approvers group, you will receive an error when attempting to approve or deny access.
{% endhint %}

To **Deny** this request, click "Deny".

#### Requesting further justification

If the requestor's justification for requesting access is incomplete or needs follow-up, reply to the request message *in a thread*. The request conversation thread is linked to the access request, and this discussion will be available in future access reviews.

## Reviewing requests

Review every request made through P0, approved or denied, on the [Access Management](/access-management/access-management.md) screen's History tab. Clicking the Slack icon in a request's description takes you to the approval-message conversation, where you can see any discussion around justification.
