Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以限制对 Perforce 软件仓库的写访问,但仍允许特定的更改列表?基本上,与其在代码锁定期间花费大量时间管理可写组中的用户(添加用户、等待签入、删除用户),我宁愿只拥有一个添加批准的变更列表编号的列表。
您可以创建一个触发脚本来执行此操作。我使用 JIRA 做同样的事情。当有人输入评论时,他们会包含 Jira 编号。我的触发器查询 Jira,并确保 Jira 中有适当的评论,然后才允许他们提交。
您不能真正在更改列表上执行此操作,因为在实际提交发生之前您不知道更改列表编号。