Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2079

Re: Impossible to affect role to an .hdbrole

$
0
0

Hello,

 

i found the trick.

 

1. Remove the extension .hdbrole from your the role file

 

ex: iotaccess.hdbrole -> iotaccess


It becomes a normal file withtou extension and editable


2. past the code


role xxxtrial.iotmmsxsv2::iotaccess {

  application privilege: xxxtrial.iotmmsxsv2::Basic;

  catalog schema "NEO_yyyy": SELECT;

}

 

 

3. bring back the extension to the file ( .hdbrole)

 

4. Send the command in the catalog in sql interface

 

call "HCP"."HCP_GRANT_ROLE_TO_USER"('xxxtrial.iotmmsxsv2::iotaccess_user', 'xxx');

 

 

It works for me.


Viewing all articles
Browse latest Browse all 2079

Trending Articles



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