[p4] Anyone have a way to preview p4 protect updates outside of the P4V admin tool?
mcru <[email protected]> Sun, 1 Apr 2018 14:45:01 -0700
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'mcru'. Does anyone know of any existing tooling that lets a user preview changes to the p4 protects table? Ideally, you feed the tool/script the relevant protect lines and it generates a list of all paths and files a user can view. I know the P4V admin tool has this functionality, but I need to allow users who own delegated repo paths to be able to get a preview of what changes would make to any users permissions to their delegated path(s). I'm pretty sure this would be easy to do using the same logic listed in this article - https://www.perforce.com/blog/preview-permissions-p4vs-administration-tool The hard part (in my mind anyway) is actually applying the list of rules to a set of files outputted from p4 files or any other list of files. I don't fully understand how the p4 protects table checks actually work... multiple times I've had lines I've applied end up not working or having unintended consequences. So, I guess clarity on this would really be key. Any ideas and/or input is greatly appreciated. -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5673-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