IBM Support

PI71085: SECURITY ON USER DEFINED SQL DOES NOT BEHAVE THE SAME IN CA11 ASIN COGNOS 10.2.1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • DEFECT DETAILS:
    
    The "Run as"  function in CA11 does not behave the same as
    Cognos 10.2.1. In Cognos 10.2.1, A user with denied permission
    on User Defined SQL query can still run the report if the report
    is "Run as" the capability of the Owner, namely a system admin.
    In Cognos CA11, the user with the same security setup will be
    denied with error:  RQP-DEF-0326 User defined SQL is not
    permitted for user...
    
    Please make a verdict on whether this is as designed or a
    defect. Please provide a Cognos facing statement and a work
    around if it is the prior.
    
    TESTCASE DETAILS:
    In CA11, use an system Admin user for the following:
    Create a new report with the sample package gosales.
    In "Queries", drag in a SQL module. Define the SQL with a simple
    query such as "SELECT * from GOSALES.PRODUCT". Remember to
    manually set the data source again in the properties.
    Drag in a list module to Page 1. Insert some data from the query
    you created to the list. Save the report.
    Go to "My reference" of the user (from Cognos Administration) >
    Personal > Renew the credentials, add another user who is a
    member of Author and Directory Admin to the list.
    In Cognos Administration > Security > capability > Report Studio
    > User defined SQL, deny the user mentioned previously on
    execute.
    
    use the user who is a member of Author and Directory Admin:
    navigate to the saved report. Check the properties > report tab
    > advanced > Run > with owner capability
    Run report. It fails with  RQP-DEF-0326 User defined SQL is not
    permitted for user...
    
    Repeat the same process in Cognos 10.2.1 would allow the user to
    execute report successfully.
    The following was also found:
    in CA11, the only valid permission setting on UDS is execution.
    Allowing would allow the user to edit, run update and save the
    report. Denying would deny everything as mentioned.
    In Cognos 10.2.1, the user can still execute report with owner's
    credentials despite being explicitly denied on "execute".
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytic 11.0.5.0                      *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI71085

  • Reported component name

    COG ADMINISTRAT

  • Reported component ID

    5724W12AD

  • Reported release

    A21

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-21

  • Closed date

    2016-11-22

  • Last modified date

    2016-11-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • RA21 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.2.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 March 2023