IBM Support

DOORS Attribute is locked with Access Denied Message

Troubleshooting


Problem

You can not edit or delete an attribute in IBM Rational DOORS because it has become locked in an access denied state.

Symptom

Modules attribute has become locked with an "Access Denied" message. Unable to edit/delete the module, even using the DOORS Administrator account.


Cause

Generally this indicates the module is corrupted, but it also could be related to access permissions.

Environment

Windows

Diagnosing The Problem

Identify the Module ID and obtain these files:

  • module_attributes.dtc if the problem is with a module level attribute value
  • attrs.dtc if the problem is with an object level attribute value
  • types.dtc this is the type definition file

Note these files do not contain data values; just meta-data descriptions.

You can archive the module and restore it to a different database. If the problem persists in the restored module then the issue is with access permissions.

Resolving The Problem

There are two methods to attempt repair.

  • Reset the partition mask using a DXL script.
    1. Login to DOORS as Administrator
    2. Open the module, click on Tools -> Edit DXL
    3. Paste the contents of the script into the input section and click on Run button.

      if(doorsname != "Administrator")
      {
      infoBox "Please login as Administrator and then run the script!"
      halt
      }
      if(null current Module)
      {
      infoBox "This script should be run from a module. Open the module that was created due to an imported partition and then run the script"
      halt
      }

      Module m = current

      load view "Standard view"

      Object o
      AttrDef def
      AttrType at

      for o in m do
      setPartitionMask_(o, 0x10000000)

      for def in m do {
      setPartitionMaskDef_(def, 0x10000000, m)
      setPartitionMaskVal_(def, 0x10000000, m)
      }

      for at in m do {
      setPartitionMask_(at, 0x10000000, m)
      }

      setPartitionMask_(m, 0x10000000)
      save m


  • Provide the module_attributes.dtc, attrs.dtc and types.dtc to IBM support to repair the module files.

[{"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.5;9.5.0.1;9.5.0.2;9.5.1;9.5.1.1;9.5.1.2;9.5.1.3;9.5.2;9.5.2.1;9.5.2.2;9.6;9.6.0.1;9.6.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 May 2020

UID

swg21697294