Mike O'Connor
Mike O'Connor

Reputation: 3813

How to make a Perforce changelist restricted under certain conditions?

Is there a way to make a changelist restricted if any of the files in it match a certain pattern? I'd like to use this to protect private internal projects from external contractors.

I know that the contractors won't be able to see the files if they don't have access in the protections, but I'd rather not have to rely on everyone sanitizing their checkin comments.

Upvotes: 0

Views: 289

Answers (1)

user1054341
user1054341

Reputation: 3289

It's been a while since I did this, but as I recall the trick is to set up a very simple trigger that forces all changelists to be restricted. Assuming you are already using protections, your users will then see only the changelists whose files they can see; all other changelists (and their descriptions) will be hidden from them.

Upvotes: 2

Related Questions