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: Specific Access rights
Topic Summary:
Created On: 14-Jul-2004 14:18
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.
 14-Jul-2004 14:18
User is offline View Users Profile Print this message


Shannon Butler

Posts: 2
Joined: 2-Apr-2004

Hi,
Some of our modules were defined with specific access rights on objects within the module. Does anyone have a dxl which would set all objects in the module to Inherit from parent and overwrite this specific access definition?

Thanks,
Shannon
Report this to a Moderator Report this to a Moderator
 14-Jul-2004 14:33
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Try

Object o

for o in current Module do inherited(o)



-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 14-Jul-2004 15:30
User is offline View Users Profile Print this message


Shannon Butler

Posts: 2
Joined: 2-Apr-2004

So simple I should've been able to do that myself. Thank you!
Report this to a Moderator Report this to a Moderator
 14-Jul-2004 15:43
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Forgot to mention that inherited() returns a null string on success, or an error message on failure - probably best to check this.

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


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

for o in ENTIRE current ...

But to answer a slightely different question: she want to keep her shared sections but refresh each object with recent changes to the module's access rights:

for o in entire current Module do
{ if (!inherited(o))
{ inherited(o)
specific(o))
}
}

Of course this will erase whatever rights you've given to individuals to individual sections.

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