Re: [cciug] How to create a view where user may check-out elements and cannot check-in

From: Christian Goetze (cg@digisle.net)
Date: Mon Feb 28 2000 - 12:58:03 EST


On Mon, 28 Feb 2000, Sabrina Baccili wrote:

> [...]
>
> Is it possible to create some triggers in such way that:
> A) user1 MAY CHECK-OUT files into the view named "dev_1.1_utente1_slave"
> B) and user1 CANNOT CHECK-IN files into the same view
>
>
> HELP HELP HELP

Yes, it is possible :) Write a preop checkin trigger using using any of
the many environment variables (CLEARCASE_VIEW_TAG for example) that tell
you which view you're using, and that returns a non-zero exit code if it
detects you are in the wrong view.

Just out of curiosity: what are you trying to achieve with this?

Perhaps your problem is better solved by copying files to a different view
private location and making them writeable there.

--
cg

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:23:28 EDT