cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA SPS 12: hdbroles doesn't work

draschke
Active Contributor
0 Kudos

Hi Experts,

we don't know why, but we don't get the .hdbroles within the new container to work.

We can build them without any problems. But if we try to grant the roles to anyone, it doesn't work.

We created this tinyworld sample. Maybe one of you wants to try it by his own. We tried it with hana studio and with the new webide but no difference, without that the error msg are not the same.

{

  "role":{

  "name": "tinyworld.tinydb::cdstinyworld",

  "object_privileges":[

  {

  "name": "tinyworld.tinydb::tinyf.country",

  "type": "TABLE",

  "privileges": [ "SELECT" ]

  }

  ]

  }

}

Could not modify user 'Dummy'. Could not grant role tinyworld.tinydb::cdstinyworld Role tinyworld.tinydb::cdstinyworld does not exist

21:06:54 (Security Editor) Changing 'Dummy' user failed:
404 - Granting ROLE 'tinyworld.tinydb::cdstinyworld' failed: invalid role name: tinyworld.tinydb::cdstinyworld: line 1 col 7 (at pos 6)

I had this problem also in SPS11 but was in hope that this problem would be solved with SPS12 for us . But it doesn't work either.

This issue is really a big problem for us, because we aren't able to get an access from outside via ETL to our hdi container (tables).

I know, it should work. I saw this excellent video by Thomas Jung and I think I watched it more than thousand times to find out, where I missed a step.

DEV602 WebIDE Ex2 - Database Development - YouTube

Pls., any help would be greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

draschke
Active Contributor
0 Kudos

If someone could send me any documentation about .hdbrole within a container that would be really helpful!

Thanks a lot!

Maybe I should mention that I used the same structure of hdbrole as Thomas Jung did in his video.

DEV602/dev602.hdbrole at master · I809764/DEV602 · GitHub

draschke
Active Contributor
0 Kudos

No ideas?

It would help if someone could install tinyworld and check if its working.

https://github.com/I809764/tinyworld

create a role, i.e.:

cdstinyworld.hdbrole

{

  "role":{

  "name": "tinyworld.tinydb::cdstinyworld",

  "object_privileges":[

  {

  "name": "tinyworld.tinydb::tinyf.country",

  "type": "TABLE",

  "privileges": [ "SELECT" ]

  }

  ]

  }

}

Its very important!

draschke
Active Contributor
0 Kudos

Dear SAP,

we made an incident almost one month ago, but until now nobody has answered it.

Would be nice, if one of you guys could take care of it.

136144 / 2016 Hana xs Advanced Role


BR,

Dirk

draschke
Active Contributor
0 Kudos

Hi,

I got helpful response from SAP.

"Proposed solution alternatives:

- Update HANA Studio

- Grant the role via SQL: GRANT "<HDI container schema>"."Vorlagedb.roles::cdsTables" TO User"



In my case, I had to update hana studio. This solved this described problem.

Thank you!

Answers (0)