Check access permission granted to a user of a repo.
For depots of type graph only.
p4 check-permission -n //repo/name -u user [-r ref] -p permission
An administrator is the owner, or a user that has been granted the
admin permission for that specific graph depot or
repo.
bruno, can check whether marie has the create-repo permission to the //gd1/name2 repo provided that bruno has this same permission or higher for this same repo. For details about types of permissions, see p4 grant-permission (graph).|
|
Applies to the repo with the specified name. |
|
|
Applies to the specified user. |
|
|
Applies to the specified permission. |
|
|
(Optional) Applies to the specified branch or tag. |