cancel
Showing results for 
Search instead for 
Did you mean: 

Setting security on an InfoProvider query

Former Member
0 Kudos

I am running into the following issue when trying to restrict access to a web template:

The web template has DataProvider (DP_2) that is not linked to a query but directly to an InfoProvider:

<bi:QUERY_VIEW_DATA_PROVIDER name="DP_2" >
                <bi:INITIAL_STATE type="CHOICE" value="INFOPROVIDER" >
                    <bi:INFOPROVIDER value="EUINVMP3" text="EU Inventory Entity" />
                </bi:INITIAL_STATE>
            </bi:QUERY_VIEW_DATA_PROVIDER>

All that this DataProvider is used for is to display the date of the last refresh/rollup of the underlying MultiProvider in an InfoField like so:


<td valign="top" align="center" >
		<bi:INFO_FIELD_ITEM name="INFO_FIELD_ITEM_3" designheight="37" designwidth="203" >
		<bi:WIDTH value="203" />
		<bi:HEIGHT value="37" />
		<bi:DATA_PROVIDER_REF value="DP_2" />
		<bi:INTERACTION_ALLOWED value="" />
		<bi:WITH_TRAY type="CHOICE" value="" />
		<bi:HEADERS_VISIBLE value="" />
		<bi:STATIC_FILTERS_VISIBLE value="" />
		<bi:GENERAL_INFORMATION_VISIBLE value="" />
		<bi:DYNAMIC_FILTERS_VISIBLE value="" />
		<bi:VARIABLES_VISIBLE value="" />
		<bi:INFORMATION_ELEMENT_LIST type="ORDEREDLIST" >
			<bi:INFORMATION_TYPE type="CHOICE" index="1" value="GENERIC_TEXT_ELEMENT" >
				<bi:GENERIC_TEXT_ELEMENT value="ROLLUPTIME" />
			</bi:INFORMATION_TYPE>
		</bi:INFORMATION_ELEMENT_LIST>
	</bi:INFO_FIELD_ITEM>
</td>

The rest of the report shows data a query based DataProvider of the same MultiProvider.

My problem now is that when I try to restrict access to this web template, I can use S_RS_COMP to control access to the queries allowed on the MultiProvider, but I always get the following error message indicating that I do not have sufficient rights:

Cannot load InfoProvider "EUINVMP3" (data provider "DP_2": No authorization for requested service)

Interestingly enough, when I use a star (*) for the "name of the reporting component" and reporting type "query", it works fine. I therefore wonder whether the system runs its own query that I have to grant access to.

Please note that I have assigned the standard authorization objects to that user and in there access to this Multiprovider is granted. As outlined above, when giving access to all queries based on that particular multiprovider, access is granted. Only when I restrict access to only the query that I have in that web template, I get access denied.

Thanks for your valuable input,

Dennis

Edited by: Dennis Staiger on Jul 11, 2008 2:17 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The system generated query name is !InfoProviderName. However, you cannot use an exclamation mark in S_RS_COMP as a value, which is why you have to use $InfoProviderName instead. The same is true for queries on aggregation levels which start with !!. Use $$ instead.

Further details can be found in note 1048505.

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Anyone? Is something not clear about my question?

Any feedback is appreciated.

Thanks,

Dennis