![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: USR PROPS question. Topic Summary: Created On: 1-Jun-2006 14:47 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Does anyone know if it is possible to extend the usrprops in SA in order to make an object READ ONLY once it has been entered into the encyclopedia. I have made it so the attributes of a particular definition are READ ONLY by default, but not so that it is locked once it has been inputted. |
|
![]() |
|
![]() |
|
SA BASIC might provide the ability to do this. Otherwise you could write a trigger that tests whether there is already data for a particular property and if there is then replaces the inserted records property value with the deleted record's property value.
If you want to go that way we can nut it out. I've got a very vague idea on how I would do this at the moment. :-)
|
|
![]() |
|
![]() |
|
You can set up ILAC (Instance Level Access Control) using Catalog Manager for the encyclopedia, so that every definition in the encyclopedia has the potential of user group control. I don't know if there's built-in automation that can set these properties on original creation, but you can import the property values or write a macro.
For example, you have two user groups: administrators and users. By default Everybody can read and write to the instance. On a regular (daily?) basis, you can export the definitions to csv and change these two properties to administrators for all definitions, then import them. This could be written as a VBA macro in a menu command (look at all definitions of type X and change the ILAC) or possibly as a trigger (on definition close or something similar). |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.