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

Assigning repository schema to a role with .hdbrole

$
0
0

Hi all.

 

I am following the examples in the HANA development manual ( http://help.sap.com/hana/SAP_HANA_Developer_Guide_en.pdf ) and I find something strange.

 

When I create a role (path/filename package/basic.role ) with the following definition for repository schemas, it does not work:

 

role package::basic {

  schema package:schema_name.schema: SELECT;

}

 

it says that 'schema' is expecting RULE_ID and there is no way to activate it. I supposes it was expecting a string of some sort, so I changed it to the existing schema in the catalog:


role package::basic {

  catalog schema "SCHEMA_NAME": SELECT;

}

 

and it works.

 

I am using HANA Studio 1.0.60 and HANA Server is also 1.0.60

 

Any idea why this is? According to the developer manual, you can use any of the two forms, but the repository schema role definition does not seem to work.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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