[p4] Users getting re-generated even after deletion !!!

Ivey, William william_ivey at bmc.com
Thu Feb 23 09:28:35 PST 2006


> -----Original Message-----
> From: Weintraub, David [mailto:david.weintraub at bofasecurities.com]
> Sent: Thursday, February 23, 2006 11:01 AM
> To: Ivey, William; perforce-user at perforce.com
> Subject: RE: [p4] Users getting re-generated even after deletion !!!
> 
> 
> > Alternately, you could set up a group into which you place users who
> > are no longer active, and remove all rights from this group in your
> protect table.
> 
> That's a neat idea! This would be especially good in situations where
> users may come and go from the project. This way, you don't have to
> delete their clients, user ID, or remove them from their groups.
> 
> However, I thought a user gets the highest permissions according to
> their group setting, so I'm not 100% sure how this would work. Would
> this be the last line in the Protect table?

Depends on how you want to use it, but, yes, usually the last line
or close to it. You might, for example, include any user IDs assigned
to background processes to this group, then grant that user ID specific
permissions after excluding the group. (The last line in my protect
table is always me with full admin rights - just in case :-)

Note that this alone doesn't prevent automatic user creation if you
have an open license slot and one of those pesky "user *" lines in
the protect table. (Would be nice if it did, but it doesn't.)

In my case, I've got a no-permissions-at-all group filled with IDs 
like XXX01, XXX02, etc. and whenever I delete a user, I immediately
create a dummy user with the next available pattern from that list.

-Wm


 




More information about the perforce-user mailing list