12-15-2009 5:54 PM
Hi,
I've been asked to investigate how to restrict users from accessing different sales orgs in a query report. Is there an easy way? I have looked at the code and found where I can add some authorisation checks on the infocube but that seems a very roundabout way of doing it?
Any ideas?
Thanks,
Gill
12-15-2009 6:32 PM
12-15-2009 6:32 PM
12-15-2009 6:33 PM
12-15-2009 6:38 PM
OK, bad news is that auths aren't included in queries unless they are based on a Logical Database & there are checks in the LDB. I suppose this is because query is for quick & dirty reporting.
Good news is that you can restrict but from what you are saying I think you have worked out how to do it already. The only way I am aware of is to add AUTHORITY-CHECK into the record processing part of the infoset code.
Another alternative is to create queries that only select for a particular sales org and only assign those queries to users who need to be restricted.