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:
From the Navigator Pane, right-click on the package (in which the analytic privilege has to be created) from the Content folder and go to New | Analytic Privilege, as shown in the following screenshot:
Give a name and description and click on Next, as shown in the following screenshot:
Browse and select the model on which we want...