Re: [p4] Anyone have a way to preview p4 protect updates outside of the P4V admin tool?
Matt Janulewicz <[email protected]> Mon, 2 Apr 2018 13:25:02 -0700
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Matt Janulewicz'. I don't think the protections table is cloned into a DVCS instance, and a very cursory test seems to not allow cloning of the spec depot, so I'm not sure using DVCS would work. I don't have a lot of experience with it, though, mostly just moving servers from one place to another. I think your best bet at this point is probably the direction you're going, to only support a few specific scenarios and to be terse about what a project manager can do. Another outside horse in this race might be the p4broker. You could theoretically use the broker to do most permissions checking, even based on your own system, without invoking the actual protections table much. This would have to be a more command-centric way of doing it, though. You could open the entire depot to all users and give them write access, then use the broker to intercept things like submit, sync, etc., running your own custom script to decide whether or not the user should be able to do that. Probably all kinds of danger in that idea, too, but it could (again, theoretically) eliminate the need to translate the tool's idea of permissions into Perforce's idea of the protections table. Hard to tell off the top of my had how much worse of an idea that is, but in any case the p4broker is a fun tool to play with. :) -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5674-anyone-have-a-way-to-preview-p4-protect-updates-outside-of-the-p4v-admin-tool _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user