clearcase rebase permission to specific person

穿精又带淫゛_ 提交于 2019-12-08 06:54:25

The easiest way is to cleartool lock -nusers aUser a stream, but that will limit any command (not just rebase) to that person.

cleartool lock -nusers aUser stream:astream@/vobs/apvob

The more precise option is to make a pre-op trigger on rebase (with cleartool mktrtype), which test the user and stream and allows or denied the rebase based on those two parameters.

cleartool mktrtype -ucmobject -all -preop rebase_start -execunix 'yourScript' -execwin 'ccperl yourScript.pl"' UCM_BLOCK_REBASE

See for instance this "Role-based preoperation trigger script" (a bit too complex for your case, but which can give some idea about a possible implementation of the preop trigger script).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!