cancel
Showing results for 
Search instead for 
Did you mean: 

How to give object privileges to the new user created in the database ?

Former Member
0 Kudos

hello all,

        I have created a new user named : - "CHARAN999" . When I am  trying to add  _SYS_BIC and _SYS_BI in Object Privileges ,am  not able to checkthe YES box in the right side in properties. Please refer to the screen shot taken for more clarity.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This is because the user you are using doesn't have the rights itself.

The option you are refering to is, "WITH GRANT OPTION".

Example: grant select on schema TESTSCHEMA to _SYS_REPO WITH GRANT OPTION;

User A needs authorization on these schema's, with grant option in order for user A to be able to grant the rights to user B.

You'll need a system admin to grant you the rights.

Greets!

Former Member
0 Kudos

Hello Jonathan ,

     Thanks for the reply , So I have to ask my admin to grant access right ?

I used

      GRANT CREATE ANY ON SCHEMA CHARAN999 TO _SYS_REPO WITH GRANT OPTION

this statement just added _sys_bic & _sys_bi to the object privileges but I am not able to check in the YES box. So how can My admin give grant access to me. Do you know what setting he has to make to provide access ?

thanks in advance.

Former Member
0 Kudos

Hi,

You need to check the owner of the schema, which you can do with the sql below.


After this, you can go to HANA development perspective, tab page system, under security and then users.



You'll find the schema in the object priviledges tab page, with the grantable to Yes (should be).


This user will have authorization to grant you the rights you are looking for so ask a system admin (since this will probably be such a user) to logon and grant you the rights using the SQL below.


GRANT CREATE ANY ON SCHEMA CHARAN999 TO[The user you want] WITH GRANT OPTION.


I hope this helps.

Jonathan

SergioG_TX
Active Contributor
0 Kudos

sai,

you cannot auto assign on the same user. you need to request this from a user with higher access.

please make a requst from one of your admins

Former Member
0 Kudos

Hello Sergio ,

     Thanks for the reply , So I have to ask my admin to grant access right ?