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: 'Administrator' view AccessRec for v71
Topic Summary:
Created On: 26-May-2006 16:19
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.
 26-May-2006 16:19
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

I just sent Telelogic the following Email about a bug, but was wondering if anyone here knows anything about it. I'm looking for a get around in DXL that lets me detect these strange "Adminstrator" access records, since "username(ar)" and "name(ar)" trigger untrappable DXL errors. I repeat this is a v7.1 bug, it seems to already be fixed in v8

- Louie

Someone logged into the 'Administrator' account and saved a view in a module as 'Private'. When you Manage Views as the Administrator, you see two Access Records, [1] Administrator RMCDA and [2] Everyone else none. The existence of this Administrator AccessRecord triggers the following DXL errors when someone else attempts to manage Views. Playing with a little DXL myself, it appears that the error in question is associated with the "username(ar)" or undocumented "name(ar)" perms.

The source problem is obviously that an 'Administrator' doesn't need and shouldn't have any AccessRecords created for it; which seems to be fixed in v8.0 and I presume v8.1.

Anyway, I was wondering if there is some sort of DXL get around I can use such that a non-Administrator user can detect such an AR and ignore it. The "username(ar)" and "user(ar)" commands trigger errors, even when surrounded with "noError()" and "lastError()" perms, and I see no other command that will suffice.

-R-E- DXL: <standard/access/accessTab.inc:2145> An unexpected error has occurred: No access to the administrator account

Backtrace:
<standard/views/views.dxl:267>
<config/menuFns.inc:463>
-R-F- DXL: <standard/access/accessTab.inc:2145> internal error, please submit a bug report
Backtrace:
<standard/views/views.dxl:267>
<config/menuFns.inc:463>
-R-E- DXL: <standard/access/accessTab.inc:2145> An unexpected error has occurred: Unspecified Failure

Backtrace:
<standard/views/views.dxl:267>
<config/menuFns.inc:463>
Report this to a Moderator Report this to a Moderator
 29-May-2006 12:55
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Louie,
I've seen this problem in another case.
I wanted to use the eMail property of Adminitrator to store the Database eMail account. I thought, it could be a good idea to have this information easily editable.
So I tried to acces the "Administrator" user to get this information, but if you are not logged in as Administrator, this user does not exist!
You can this by using :

User u = find "Administrator"
string uName = u.name
print uName"\n"

It will work, when you are logged in as Administrator, but it won't if you log in as anyone else

This is not a resolution for your problem, but it is the natural reason for it ...

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 30-May-2006 09:04
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

I discovered a similar issue a while back by accidentally creating an access record for the administartor on an attribute. The folowing was thew reply from support. I have not yet checked if this is fixed in DOORS 8.0.

Hi Tony,

The problem is that the 'Administrator' user is being added to the access list and this should not be allowed. We have logged a defect in DOORS 7.1-008 with case ID SH5008642.

Steve

-----Original Message-----
From: Antony Goodman [mailto:goodman@highintegritysolutions.com]
Sent: Wednesday, December 15, 2004 9:50 AM
To: DOORS Support EU
Subject: Error with Administrator Access Rights


Hi,

I am getting the error shown below.
The attached script sets access permissions on a module level attribute.
This error was generated by mistake, when I accidentally ran the script as Administrator.
I am however surprised at the error.

Scenario:

1. Log in as Adminsitrator
2. Open a module and set sets specific permissions on a module level attribute to RMCDA.
3. log in as normal user
4. open the module
5. select file->module properties
6. causes the error shown below.

Any ideas?

-R-E- DXL: <standard/access/accessTab.inc:1900> An unexpected error has occurred: No access to the administrator account

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 30-May-2006 18:30
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

In DOORS v7.1, I was unable to reproduce this error (for attributes). When you change the access to Specific there is no 'Administrator' access record created. You can also NOT add one manually since 'Administrator' doesn't appear in the user list. Perhaps that was a v7.0 error.

I'm sure I could write a DXL to add the such an Administrator AR to attributes.

Anyway, its fixed in v8.0 now.

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