Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Reference | 2025.1

# p4 show-permissions (graph)

Display a user-centric view of the permissions for repos.

For depots of type `graph` only.

## Syntax

    p4 [g-opts] show-permissions -d graphDepot1 [-g group | -u user]
    p4 [g-opts] show-permissions -n //graphDepot1/reponame [-g group | -u user]

Syntax conventions

## Description

Unlike p4 show-permission (graph), which requires specifying a repo (or graph depot), this command can report across multiple repos (or graph depots). For some queries, this is convenient.

An administrator is the owner, or a user that has been granted the `admin` permission for that specific graph depot or repo.

User type | Options
--- | ---
Users | Running with no arguments shows the current user the permissions that user has across all the repos for which that user has permissions. Adding `-d` or `-n` restricts the view to the specified depot or repo.
Administrators | Can also use the `-u` option, but only in conjunction with the `-d` or `-n` option, to view the permissions of another user of this admin's depot or repo.
Super users | Can also use the `-u` flag to specify another user.

Certain permissions implicitly include other permissions. If you specify a permission that can be implicit or explicit, such as `write-ref`, the list shows users that have the specified permission, either explicitly or implicitly, such as users with `write-all` and `admin`. See the "permissions" section of p4 grant permission.

## Options

`-d` | Applies to the depot of type `graph` with the specified name.
`-n` | Applies to the repo with the specified name.
`-u` | Applies to the specified user.
`-g` | Applies to the specified group.
`-r` | (Optional) Applies to the specified branch or tag.
`g-opts` | See Global options.

## Usage notes

Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required
--- | --- | ---
N/A | N/A | super, or admin of the repo or graph depot, or the user needs to be the specified user see p4 show-permissions (graph)

## Related commands

To show permissions for a specific repo | p4 show-permission (graph)
Check access permission(s) granted to a user of a repo | p4 check-permission (graph)
To get user-centric "classic" permissions | p4 protects

Your search for returned results