Making modules read-only - via VBS
I am asking You if You know a quick option to make read-only by HP ALM module (Test Plan, Req, Defect) via VBS code ofcourse.
Let say that I will load a project parameter stored in some test description, if it is set up to 1 then all project should be read only... any suggestion?
Re: Making modules read-only - via VBS
A fairly easy way of making the whole project readonly is to change the return value of the DefaultRes function from True to False. That will prevent all posting, provided the return values have not been explicitly changed to "True" in the individual functions.
If you try that you need to make sure you explicitly set the return values of CanLogin, CanLogout and CanCustomize to True - otherwise you will lock everybody out, including yourself.
Another option is to make sure everybody in the project is member of Viewer group only.
To make readonly by module is more complicated and requires detailed analysis of the workflow, unless you don't want to permanently modify the permissions of the individual user groups.
[Please do not contact me off line for receiving support. Use the forum!]