pi perm add

Command help

> pi perm add -h
Usage: pi perm add [-h] [--all-ip] [--all-lines] [--tree]
                   permissions [permissions ...] identifier [identifier ...]
 
Description: Add new Permissions, existing ones are unchanged.
 
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 a 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 added to IP Lines, if
               added to an IP the view perm will propagate to the default
               TRUNK line and read (r) permission will be added to the IP.
  identifier   Library, IP and/or Line to add the Permissions to. Libraries
               are specified as <library_name>. where the period (.) suffix is
               required. IPs 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, add the Permissions to all IPs in that
               Library. For IP and Line arguments, this option is ignored.
               Perms added to an IP will propagate to the default TRUNK line.
  --all-lines  For a Library argument, add the Permissions to 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, add the Permissions to 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 added, while affected IPs and Libraries
               will have read permissions added.
  -h, --help   Show this help message and exit.

More information and documentation available at:
  https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.

Example

> pi perm add u:vera:rw tutorial.tutorial

>