COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: vamsivanka on 28 Feb 2017 08:52:05 AM

Title: Permissions to Package Only
Post by: vamsivanka on 28 Feb 2017 08:52:05 AM
I am using IBM Cognos Version 10.2.1.

when i give access to a Package for a group, it is also giving access to all the 20 reports inside the package for that group.
How can we avoid this to happen. I would like to give access to only one report Manually.

Thanks.

Title: Re: Permissions to Package Only
Post by: AnalyticsWithJay on 28 Feb 2017 09:14:39 AM
From Cognos on Parent/Child Permissions:

Access permissions are acquired from parent entries. If access permissions are not defined, the entry acquires permissions from its parent entry. You can replace parent permissions by defining permissions for the child entry.

Objects that exist only as children of other objects always acquire permissions from their parents. Examples of such objects are report specifications and report outputs. They are visible through the Software Development Kit. You cannot set permissions specifically for those objects.
Title: Re: Permissions to Package Only
Post by: vamsivanka on 28 Feb 2017 10:10:27 AM
@CognoidJay I am able to set permission specifically for those child objects. Its only that when i give access to the parent, all the 20 child elements are inheriting the access from the parent and i had to remove the access for each and every child object manually. Hope there is a better way.
Title: Re: Permissions to Package Only
Post by: AnalyticsWithJay on 28 Feb 2017 10:21:58 AM
Quote from: vamsivanka on 28 Feb 2017 10:10:27 AM
@CognoidJay I am able to set permission specifically for those child objects. Its only that when i give access to the parent, all the 20 child elements are inheriting the access from the parent and i had to remove the access for each and every child object manually. Hope there is a better way.

That's correct. If you don't set permissions on the child objects, it will inherit the permissions from the parent.

I don't recommend you place reports inside packages for this reason. It is better to place them inside folders, giving you more granular control.
Title: Re: Permissions to Package Only
Post by: MFGF on 01 Mar 2017 04:03:40 AM
Quote from: CognoidJay on 28 Feb 2017 10:21:58 AM
I don't recommend you place reports inside packages for this reason. It is better to place them inside folders, giving you more granular control.

^^^ Exactly! I agree 10000% :)
Title: Re: Permissions to Package Only
Post by: Michael75 on 01 Mar 2017 10:16:45 AM
Quote^^^ Exactly! I agree 10000% :).

Not being born with super Muppet powers, I can only agree 100%.  :'(

What Jay and MF certainly had in mind when replying was that placing reports inside a package within Cognos Connection can also seriously complicate your deployment strategy (Dev - Test - UAT - Prod). Much better to create folders according to the organisation of your business, and place your reports accordingly.