> pi perm set -h
Usage: pi perm set [-h] [--all-ip] [--all-lines] [--tree]
permissions [permissions ...] identifier [identifier ...]
Description: Set Permissions on Libraries, IP and Lines. This command causes
any Permissions already set on the Libraries, IP and Lines objects to be
replaced by the specified Permissions. Any Permissions previously set will be
lost.
Positional arguments:
permissions Each access specifier is of the form <type>:<who>:<perm> where
<type> is either u or g, <who> is the name of the user or
group, and <perm> is any combination of o, w, and either r or v
(but not both). View perms (v) can only be set on IP Lines,
if set on an IP the view perm will propagate to the default
TRUNK line and read (r) permission will be set on the IP.
identifier Libraries, IP and/or Lines to set the Permissions on. Libraries
are specified as <library_name>. where the period (.) suffix is
required, IP are specified as <library_name>.<ip_name> and
Lines are specified as <library_name>.<ip_name>@.<line_name>
Optional arguments:
--all-ip For a library argument, set the Permission on all IPs in that
Library. For IP and Line arguments, this option is ignored.
Perms set on an IP will propagate to the default TRUNK line.
--all-lines For a Library argument, set the Permissions on all Lines of every
IP in that Library. For an IP argument, add the Permissions to all
Lines of that IP. For Line arguments, this option is ignored.
--tree For a Line argument, set the Permissions on the Lines, IPs, and
Libraries of all IPV in the resource hierarchy of the latest IP
Version on the Line. For an IP argument, this option uses the
resource hierarchy of the latest Version of the IP on the IP's
default line. For Library arguments, this option is an error. If
the permissions field contains view permissions, affected lines will
have view permissions set, while affected IPs and Libraries will have
read permissions set.
-h, --help Show this help message and exit.
More information and documentation available at:
https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.