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

Authorization issue

$
0
0

Hello,

 

I created Project using Project Explorer and then subsequently created the Schema (company) and Tables using the .hdbschema and .hdbtable files.

After this i tried to Grant permissions to SYSTEM user directly from the Navigator using the SQL,

GRANT SELECT ON <SCHEMA> TO _SYS_REPO WITH GRANT OPTION;

 

But the system gave me an error message that the schema "company" doesn't exist.

I also tried adding the schema to users and in this case though i could add "company" schema, but during activation i got the same message that the Schema doesnt exist.

 

Finally i followed the procedure which was explained in Open SAP i.e. to create Role in Project Explorer using the .hdbrole file and then Grant the permission using the SQL,

call "_SYS_REPO"."GRANT_ACTIVATED_ROLE"('PM3mycompany.myorg.testing.data::workshopAdmin','SYSTEM');

 

This time it worked perfectly fine.

 

So in case anyone has created schema and tables in Project Explorer and were able to Grant the authorisations using Grant Select statement in SQL then please do let know.

 

Regards,

Nitin S.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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