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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Authorization to update or delete native packages, or create sub-packages of packages originating in the<br />

system in which the user is working<br />

<strong>SAP</strong> <strong>HANA</strong> Repository Privileges<br />

In addition to the authorizations you can grant users for specific packages (and the design-time objects in those<br />

packages), you can also assign general system privileges to users to enable them to perform basic repository<br />

operations, for example: importing and exporting content, and maintaining delivery units (DU).<br />

If your daily tasks include general administration tasks, you need basic system-level privileges in the repository.<br />

To perform basic administration tasks in the repository, you typically need the following privileges:<br />

● REPO.EXPORT<br />

Enables you to export delivery units; exporting a DU transports it to another system<br />

● REPO.IMPORT<br />

Enables you to import delivery units; importing a DU transports it from another system<br />

● REPO.MAINTAIN_DELIVERY_UNITS<br />

Enables you to maintain your own delivery units (the DU-vendor must equal the system-vendor)<br />

● REPO.WORK_IN_FOREIGN_WORKSPACE<br />

Enables you to move objects from a "foreign" inactive workspace into your own workspace<br />

You can grant or revoke basic, repository privileges to users in the following ways:<br />

● <strong>SAP</strong> <strong>HANA</strong> Studio<br />

The System Privileges tab page in the Modeler perspective: Catalog -> Authorization -> Roles or Users<br />

Note: If you want to access the repository from the <strong>SAP</strong> <strong>HANA</strong> studio, Eclipse, or other clients,you need<br />

the EXECUTE privilege for SYS.REPOSITORY_REST, the database procedure through which the REST<br />

API is tunneled.<br />

Defining Repository Package Privileges<br />

In the <strong>SAP</strong> <strong>HANA</strong> repository, you can set package authorizations for a specific user or for a role. Authorizations<br />

that are assigned to a repository package are implicitly assigned to all sub-packages, too. You can also specify if<br />

the assigned user authorizations can be passed on to other users.<br />

To set user (or role) authorizations for repository packages, perform the following steps:<br />

1. In the <strong>SAP</strong> <strong>HANA</strong> studio, open the Navigator view of the Modeler perspective.<br />

2. In the Navigator view, expand the Security Roles/Users node for the system hosting the repository that<br />

contains the packages you want to grant access to.<br />

You can also define roles via source files; roles defined in this way can be assigned to a delivery unit and<br />

transported to other systems.<br />

3. Double click the user (or role) to whom you want to assign authorizations.<br />

4. Open the Package Privileges tab page.<br />

5. Choose [+] to add one or more packages. Press and hold the Ctrl key to select multiple packages.<br />

6. In the Select Repository Package dialog, use all or part of the package name to locate the repository package<br />

that you want to authorize access to.<br />

7. Select one or more repository packages that you want to authorize access to; the selected packages appear<br />

in the Package Privileges tab page.<br />

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

Setting Up Roles and Authorizations<br />

P U B L I C<br />

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

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

Saved successfully!

Ooh no, something went wrong!