Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Trigger to Add Shareable Section
Topic Summary:
Created On: 1-Jun-2004 22:12
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 1-Jun-2004 22:12
User is offline View Users Profile Print this message


Cameron Poole

Posts: 12
Joined: 28-Feb-2003

I have a module where I would like the ability to automatically set each new object as a shareable section. The objects in the module are all at level 1 and are created programmatically by another utility but edited by numerous individuals. Is there some way to automatically set a module up for sharing?

Any help would be greatly appreciated.
Report this to a Moderator Report this to a Moderator
 2-Jun-2004 08:44
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Lockable sections are created by setting the access rights on certain objects to specific rather than inherited.
This is normally done at one level. Children of these objects have inherited permissions and are within the "section".

You can set this after creating the new level 1 object:
newObj = create(module)
specific(newObj)

or you can run through the whole module:

for obj in module do
{
if (level obj == 1)
{
specific(obj)
}
else
{
inherited(obj)
}
}


You can run this after creating new objects. According to the manual, calling specific has no effect if the object already has specific access rights.



-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.