Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008

    Unanswered: Inheriting privileges from schema?

    hi all,

    I am not aware of DB2 much, I read up some material but could not find if the schema permissions are inheritable to the objects created in the schema.

    my intention is to achieve following, grant a permission to a schema such that all the objects created inside that (by any user) will be by default select, execute etc. privileges for a particular user.

    can anyone tell me if it is possible?

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    grant are given on objects and not on schema
    if you want give select authority on all tables, to a user, you have to grant select on each object to this user
    this can be done with a script that reads the objects for a schema
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts