Skip to Content
Former Member
Jul 01, 2008 at 07:26 PM

Setting security on an InfoProvider query


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:INITIAL_STATE type="CHOICE" value="INFOPROVIDER" >
                    <bi:INFOPROVIDER value="EUINVMP3" text="EU Inventory Entity" />

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:VARIABLES_VISIBLE value="" />
			<bi:INFORMATION_TYPE type="CHOICE" index="1" value="GENERIC_TEXT_ELEMENT" >

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,


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