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: Changing the signature configuration
Topic Summary: Default access record
Created On: 24-Mar-2006 02:03
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.
Answer This question was answered by Chris Jones, on Tuesday, March 28, 2006 1:32 AM

Answer:
quote:

So, we need to have 'Everyone else' set to RMA access before the list is cleared. Only thing is, using

print set(sigInfo, p, "Everyone else")

(which is the straightforward way of doing it) does not work.



To (partially) answer my own question, we can look through all the signature info (ACL) entries and tell me their name:



SignatureInfo sigInfo
print getSignatureInfo(sigInfo, module(current Module),0,1,"")

AccessRec ar

for ar in sigInfo do {
print name(ar) "\n"
}


Buuuuuuuuuut, it gives, "The default access record has no name" immediately. The question now becomes: How do I change the default access record for a Signature Info object?

Further reflection brought me to "". Yes, our friend the null string. Of course! So the original code becomes:

print set(sigInfo, p, "Everyone else")

which prints nothing at all. Success!
 24-Mar-2006 02:03
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

We have an in-house script to 'approve' a module by appending the user's signature to the baseline. The most-commonly used option also removes everybody besides the current user from the signature configuration, so our metrics can tell if everybody who needs to have approved it has. It then adds the current user to the list.

The problem comes when the default 'Everyone else' group only has R access to that list. Then the script has no admin access to add the current user back to the list. So, we need to have 'Everyone else' set to RMA access before the list is cleared. Only thing is, using
print set(sigInfo, p, "Everyone else")
(which is the straightforward way of doing it) does not work.

So, does anybody know how to modify the rights for the 'Everyone else' group in a signature configuration?
And, what about restoring admin access to the list when 'Everyone' is set to R?

Any help would be GREATLY appreciated.

Chris

Edited: 28-Mar-2006 at 02:05 by Chris Jones
Report this to a Moderator Report this to a Moderator
 28-Mar-2006 01:31
User is offline View Users Profile Print this message


Chris Jones

Posts: 177
Joined: 1-Jul-2005

Answer Answer
quote:

So, we need to have 'Everyone else' set to RMA access before the list is cleared. Only thing is, using

print set(sigInfo, p, "Everyone else")

(which is the straightforward way of doing it) does not work.



To (partially) answer my own question, we can look through all the signature info (ACL) entries and tell me their name:



SignatureInfo sigInfo
print getSignatureInfo(sigInfo, module(current Module),0,1,"")

AccessRec ar

for ar in sigInfo do {
print name(ar) "\n"
}


Buuuuuuuuuut, it gives, "The default access record has no name" immediately. The question now becomes: How do I change the default access record for a Signature Info object?

Further reflection brought me to "". Yes, our friend the null string. Of course! So the original code becomes:

print set(sigInfo, p, "Everyone else")

which prints nothing at all. Success!

Edited: 28-Mar-2006 at 01:33 by Chris Jones
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.