Skip to Content
author's profile photo Former Member
Former Member

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

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.

Capture.PNG (47.7 kB)
Capture.PNG (47.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 11, 2016 at 03:45 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2016 at 07:24 PM

    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!

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

      schema_owner.jpg (34.6 kB)
      grant option.jpg (77.2 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.