Remove from a user or group access to a depot of type graph
or to a repo.
For depots of type graph
only.
p4 [g-opts] revoke-permission -d graphDepot1 -g group [-r ref] -p permission
p4 [g-opts] revoke-permission -d graphDepot1 -u user [-r ref] -p permission
p4 [g-opts] revoke-permission -n //graphDepot1/reponame -g group [-r ref] -p permission
p4 [g-opts] revoke-permission -n //graphDepot1/reponame -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.
After the administrator has granted a permission to a user or group for
a depot of type graph
or a repo, the administrator can
remove that permission with the revoke-permission
command.
The administrator specifies the group or user that will no longer have
the specified permission to the specified depot of type
graph
or repo.
An administrator is the owner
, or a user that has been
granted the admin
permission for that specific graph depot
or repo.
Certain permissions imply (implicitly include) other permissions. An
implied permission cannot be revoked directly. See the section for
Permissions
in the p4
grant-permission
topic.
|
Applies at the level of the depot, and therefore includes all of its repos. |
|
Applies to the repo with the specified name. |
|
Applies to the specified group. |
|
Applies to the specified user. |
|
(Optional) Applies to the specified branch or tag. |
|
Applies to the specified permission. |
|
See Global Options. |
To remove from user bruno the ability to read
the files in
the specified depot of type graph, which also prevents that user from
making a Git clone:
$ p4 revoke-permission -n //graphDepot1/repo8 -u bruno -p read
To remove from user bruno
the ability to create a Git
reference to a release tag in the specified depot of type
graph
.
$ p4 revoke-permission -d graphDepot1 -u bruno -r refs/head/rel-* -p create-ref
p4 revoke-permission can use the -r
option with
additional permissions: delete-ref
, write-ref
,
force-push
, and write-all
.
To assign a permission |
|
To list the permissions currently granted |