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: Determining shared edit status of a module
Topic Summary:
Created On: 16-Aug-2006 15:27
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.
 16-Aug-2006 15:27
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

We used to have a module set up for sharing and section-locking.

Since then, all objects have been reverted to "Inherit from Parent" thus removing the lockability of the module - I can't remember offhand the reason for this.

I now want to re-set up the editable sections and am aware that removing this didn't necessarily fully integrate the module files back into one supersize file.

Is there an easy way of finding out what level the sharing was previously set at?
Report this to a Moderator Report this to a Moderator
 16-Aug-2006 16:53
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

//try following as layout dxl

bool b
isAccessInherited(obj, b)
display b ""
Report this to a Moderator Report this to a Moderator
 17-Aug-2006 08:16
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

But access not being inherited does not in itself mean that the level is lockable, and all objects are now inherited anyway.
Report this to a Moderator Report this to a Moderator
 17-Aug-2006 08:28
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

If an object has specific access rights (i.e. not inherited) then it is also a lockable section. Why DOORS was implemented this way I do not know, but that's the way it works.

If you want to find out what the access rights were, then you can look through the baselines to find the objects that were lockable before.

I suggest opening each baseline and using Ron's code to get the info.

-------------------------
Tony Goodman
http://www.smartdxl.com

Edited: 17-Aug-2006 at 08:29 by Tony Goodman
Report this to a Moderator Report this to a Moderator
 17-Aug-2006 08:51
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Ah I see, thanks I'll do that.

I'd love to hear the rationale behind that design logic.
Report this to a Moderator Report this to a Moderator
 17-Aug-2006 11:34
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

As a slight aside, I know that you can share-edit a module down to level 4, and obviously will get a degree of performance degradation due to the extra files that DOORS must reconstitute when you open the module, but can anyone suggest a reasonable rule of thumb for the share level I should use, or is it really a finger in the air, suck it and see kind of approach?

My gut feeling is that for a reasonably structured module with ten or more sections, then a level 1 setting would be appropriate. Any fewer sections than that and it would probably be worth breaking it down further.



Edited: 17-Aug-2006 at 11:35 by Alan Gooch
Report this to a Moderator Report this to a Moderator
 17-Aug-2006 14:48
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Telelogic only provide an option to go down to level 4 in the GUI, and I assume that this is by design rather than by accident.

We have our own tool for creating lockable sections that allows the user to select sections individually.
Also if you create lockable sections at say level three then it is usually a good idea to also create lockable sections at levels 1 and 2 (i.e. the ancestor sections).

Our tool also restricts lockable sections to heading objects, so you don't end up with loads of individual requirements that are lockable because they happen to be at the same level as the section level you selected.

If you have a module based on one of the common standards then you will notice that the sections are not evenly distributed as far as depth is concerned which makes creation of lockable sections at a single level inappropriate.

I have spoken to Telelogic in the past about this and their advice was to have as few lockable sections as possible to minimise database fragmentation.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 3-Jul-2007 18:20
User is offline View Users Profile Print this message


Craig Forant

Posts: 56
Joined: 21-Feb-2005

Tony,

Would you mind sharing this tool you have created? I am going to write something like this, but I don't want to reinvent the wheel.

Thanks.

-------------------------
Craig Forant
me@craigforant.com
Report this to a Moderator Report this to a Moderator
 4-Jul-2007 10:40
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

I am afraid I can't share the tool as it is because it is designed for a specific doors schema. Also it is embedded within a much larger collection of DXL and relies heavily on library functions.

However, I do like to share, so I will see what I can come up with stand-alone.
Watch this space...

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 4-Jul-2007 16:35
User is offline View Users Profile Print this message


Craig Forant

Posts: 56
Joined: 21-Feb-2005

I came up with this script last night and it looks like it works. Any feedback would be great!

-------------------------
Craig Forant
me@craigforant.com

Edited: 4-Jul-2007 at 16:36 by Craig Forant
Report this to a Moderator Report this to a Moderator
 4-Jul-2007 16:52
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Nice one Craig!

A couple of points:

1. Turn off autodeclare. Louie has posted a script for this somewhere.

2. I think your logic or terminology is back to front on the check boxes?

-------------------------
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 1 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 1 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.