Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Introspection of Stored Procedures used in Analytic Privileges

$
0
0

I am trying to define a security model that would have a single Access Control List table and a single stored procedure we could use across all Analytic Privileges.  The only way I have found to support a single multi purpose ACL table is to create a new sp for every instance it is needed in a AP.  Then in the sp I can query the sys.stuctured_privileges table to get introspection on the AP that is calling the sp.  unfortunately this 'solution' would have our developers creating a new identical sp object everytime they needed to apply row level trimming.

 

The first path I can see around this would be ability to set sp prm in the AP which I don't believe is currently supported.

 

Second thought would be if there was a way to use introspection, but I can't find any mention of if that's supported or not.

 

Is there any way for a stored procedure to do introspection on the AP that is calling it?

Or any other recomended approaches.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>