28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. Add Attributes<br />

a) If you want to add restrictions for all models, select the Applicable to all Information Models option.<br />

Note: If you do not select this option, the restrictions you create apply only to the secured list of<br />

models available in the Reference Models panel that you selected above.<br />

b) In the Associated Attributes Restrictions panel, choose Add to select the attributes for defining<br />

restrictions.<br />

c) Choose OK.<br />

3. Assign Restrictions<br />

Note: If you do not add any attributes for restrictions there will be unrestricted access to the<br />

selected models or to all the models (if Applicable to all the Information Models option is selected).<br />

a) In the Assign Restrictions pane, choose Add to add value restriction for the selected attributes.<br />

b) Select the required operator and enter a value (manually or via Value Help dialog).<br />

Remember: To activate the analytic privilege, you must assign a minimum of one restriction to each<br />

attribute.<br />

4. Activate the analytic privilege using the Save and Activate option in the editor.<br />

Note: Select the Save and Activate All option to activate the privilege along with all the required<br />

objects.<br />

5. Assign the privilege to a user<br />

342<br />

a) In the Navigator panel, navigate the Security Authorizations Users node.<br />

b) Select a user.<br />

c) In the context menu, choose Open.<br />

d) Choose Analytic Privileges tab page, and add the privilege.<br />

e) From the editor toolbar, choose Deploy.<br />

● Consider an analytic view (without fields coming from attribute views) or a calculation view SALES,<br />

which is added as part of an analytic privilege’s secured models having the following data.<br />

CUST_ID CUST_GROUP SALES<br />

1 GRP1 1000<br />

2 GRP2 1500<br />

3 GRP3 1200<br />

1 GRP4 1300<br />

If you create a restriction on column CUST_ID to filter data for CUST_ID 1 and 2, the conditions are<br />

combined with OR and the data available for a user is:<br />

CUST_ID CUST_GROUP SALES<br />

1 GRP1 1000<br />

2 GRP2 1500<br />

1 GRP4 1300<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Setting Up Roles and Authorizations

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!