IBM Support

Security model filter is not being honoured for DMR models against dynamic query mode

Flashes (Alerts)


Abstract

An issue has been identified within Cognos BI 10.2.1 Dynamic Query Mode (DQM) where a Dimensionally Modeled Relational (DMR) model, which utilizes session parameters via macro expressions, to restrict the data may display data for another session parameter value. This may result in a user being presented with data from another user that they should not have access to. APAR PM91904 has been logged for this issue.

Content


Within IBM Cognos Framework Manager, a modeler can restrict the data represented by query subjects in a project by creating security filters. These security filters can be embedded within the SQL of a Data Source Query Subject or defined as filter object on a Model or Data Source Query Subject. These security filters are usually created using the Session Parameters via macro expressions in order to restrict the data based on the user who is running the report.

This issue only occurs if:

  1. Security Filters have been created as filter objects or embedded in the SQL within the model and utilize the session parameters via a macro expression. Some of these session paramters include but are not limited to: $account.defaultName,$account.personalInfo.userName.

  2. The model is Dimensionally Modeled Relational and has been published out using the Dynamic Query Mode.


Interim Workaround

  1. On each of the dispatchers in the environment, locate and backup the configuration/xqe/dmr.properties file.

  2. Open the dmr.properties file using a text editor.

  3. Locate the entry which reads: blockingPrePlanSameMetaDataObjects=true

  4. Change the true value to false. When completed, the changed entry should read: blockingPrePlanSameMetaDataObjects=false

  5. Save the changes and close the file.

  6. Stop and Restart the IBM Cognos BI Service.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
25 September 2022

UID

swg21642234