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: Permissions error
Topic Summary: Problem saving views with permissions
Created On: 1-Nov-2007 16:01
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-Nov-2007 16:01
User is offline View Users Profile Print this message


Brian Rohler

Posts: 26
Joined: 20-Jun-2007

When trying to save a view that has it's own permissions I've received an error even though I have full read and write privileges to the module. Is there a way to get around permissions in a script? Currently I have a way to catch the error, but I would like to get around it. The script that I'm specifically am using is a view copying script that has been used for at least a year and has never encountered this error before. Also has anyone else experienced this problem of only a view having permissions that even an admin in doors can't save?
Report this to a Moderator Report this to a Moderator
 1-Nov-2007 19:03
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Can you be more specific on the error?

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 1-Nov-2007 21:18
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Permissions to the Module do not guarantee permissions to existing views. In fact, generally, only the person who creates a view is granted edit rights to it. That's why it should be routine for folks who create a view, to go back into it Views men >Manage Views, and adjust its access rights granting other folks (like the admins) modify rights.

The 'get around' would be to log in as the Administrator and adjust the rights to the view.

Be advised, however, that v7.1 DOORS had a serious bug when the Adminstrator created a view. Well, the Administrator was granted a specific access record which messed things up for reasons I won't go into here. Again, the solution was to log in as the Administrator and remove such access records.

- Louie
Report this to a Moderator Report this to a Moderator
 2-Nov-2007 18:13
User is offline View Users Profile Print this message


Brian Rohler

Posts: 26
Joined: 20-Jun-2007

is there any way in dxl scripts go in and adjust rights?
Report this to a Moderator Report this to a Moderator
 15-Nov-2007 15:50
User is offline View Users Profile Print this message


Andreas Schwarz

Posts: 3
Joined: 27-Mar-2003

Hello,

this brute force DXL sets all View access rights of all Modules in the current Folder to inherited. Make sure that this is really what you want!

Regards,
Andreas

-------------------------
Andreas Schwarz a.schwarz@ieee.org
Austrian Aerospace htp://www.space.at

Report this to a Moderator Report this to a Moderator
 15-Nov-2007 18:06
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You'd need to run as the 'Administrator' to make sure you can modify the access to the views.

The 'for s in view(m) do' loop should be preceded with a 'currrent = m' statement, to make SURE that the module you just opened is in fact the current module; since the 'v = view(s)' statement presumes that.

Change the 'name' function to 'fullName' in the 'canControl' statement.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.