# master.protect # # The top level perforce permissions are defined here # # Only the master.protect file may # 1. give super user privileges # 2. have absolute paths # # IMPORTANT NOTE regarding exclusionary protections: # # No matter what access level is provided in an exclusionary protection, # all access levels for the matching files and IP addresses are denied. # # This is a quote from the Perforce 2002.2 System Administrator's Guide: # http://www.perforce.com/perforce/doc.022/manuals/p4sag/04_protect.html#1046972 Default: # Define super users here super user joe * //depot/... Enforce: # write access to p4.protect is only allowed through the protect # sections of p4.protect files # Don't remove this line! write user * * -//.../p4.protect # Permissions for automated tasks should be enforced. # admin user is used to do checkpoints (from perforce server) # replace 192.168.1.111 by the ip addres of your perforce server super user admin 127.0.0.1 //... super user admin 192.168.1.111 //... # Other policies to be enforced are added below... E.g. # guest user has read-only access to everything write user guest * -//... read user guest * //... # Everybody may see everything read group everybody * //... protect: # Policies to be enforced on p4.protect files... # guest may not edit p4.protect files write user guest * -//.../p4.protect # Everybody may see all p4.protect files read group everybody * //.../p4.protect # permission for root level p4.protect file # this can also be set in //depot/p4.protect write user joe * //depot/p4.protect write user admin 127.0.0.1 //depot/p4.protect # allow joe to edit all p4.protect files write user joe * //depot/.../p4.protect