Restricting access to data – creating analytic privileges

Analytic privileges are used to restrict data access to users. We create analytic privileges on top of the SAP HANA model. We select the attributes and also the set of values that these privileges have to be applied to. Finally, we assign analytic privileges to users. This recipe explains how to create analytic privileges.

Getting ready

Analytic privileges are created on top of the SAP HANA model, that is, the attribute/analytic/calculation view. Hence, to start creating analytic privileges, we should have SAP HANA models ready in hand.

How to do it…

To start creating analytic privileges, follow the given steps:

  1. From the Navigator Pane, right-click on the package (in which the analytic privilege ...

Get SAP HANA Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.