My Oracle Support Banner

Privilege/Criteria Not Working On Redline Values (Doc ID 2753317.1)

Last updated on FEBRUARY 17, 2021

Applies to:

Oracle Agile Product Collaboration - Version 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms

Privilege/Criteria not working on redline values.

The requirement are: Page Two Attributes - AttrX, AttrY should be visible only if Page 2.Attr1 is equal to Yes.

Configured a Read Privilege on Documents class. The Applied To fields are the Page Two attributes(e.g., AttrX, AttrY) on the Documents class.
The Criteria is configured for Documents class and the condition is "Common Attributes. Attr1 in Yes".

This Read privilege works as expected for any Documents subclass object. But when the same Document subclass object is added on a Change Order and Attr1 is redlined to Yes, the privilege fails to display AttrX, AttrY since the redline value is not read by the criteria.
 
The issue can be reproduced at will with the following steps:

  1. In Java Client > Data Settings > Classes > Items > Documents > Page Two, create attributes:
  2. Attr1 - Attribute Type: List
    1. List: Yes|No
    2. Changed Controlled: Yes
  3. AttrX - Attribute Type: Text
    1. Changed Controlled: Yes
  4. AttrY - Attribute Type: Text
    1. Changed Controlled: Yes
  5. Create a criteria:
  6. Name: Attr1 is Yes
    1. Object Type: Documents
    2. Criteria: Documents > Page Two.Attr1 in Yes
  7. Create privileges:
  8. Name: Read privilege for Attr1
    1. Privilege: Read
    2. Criteria: All documents
    3. Applied To: Documents.Page Two.Attr1
  9. Name: Modify privilege for Attr1
    1. Privilege: Modify
    2. Criteria: All documents
    3. Applied To: Documents.Page Two.Attr1
  10. Name: Read privilege for AttrX and AttrY
    1. Privilege: Read
    2. Criteria: Attr1 is Yes
    3. Applied To: Documents.Page Two.AttrX, Documents.Page Two.AttrY
  11. Name: Modify privilege for AttrX and AttrY
    1. Privilege: Modify
    2. Criteria: Attr1 is Yes
    3. Applied To: Documents.Page Two.AttrX, Documents.Page Two.AttrY
  12. Create a role, with the following Privileges:
  13. Name: Role01
  14. Privileges:
    1. Create, Read, Modify Changes
    2. Create, Read, Modify Documents (These privileges by default will not have Document's Attr1, AttrX, and AttrY in the Applied To)
    3. Enforce Field Level Read
    4. Read privilege for Attr1
    5. Modify privilege for Attr1
    6. Read privilege for AttrX and AttrY
    7. Modify privilege for AttrX and AttrY
  15. Create User01 with role Role01.
  16. Login to Web Client as User01.
  17. Create a document (Doc01), set Page Two.Attr1 to No, click Save.
  18. Create an ECO for Doc01.
  19. In the ECO Affected Items, select Doc01, click Edit.
  20. Set Page Two.Attr1 to Yes, click Save.
  21. Select Doc01, then click Edit.
  22. Result: Page Two.AttrX and Page Two.AttrY are NOT visible and editable

           --> This is where the problem is, they should be visible & editable

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.