Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3084

CREATE SCHEMA in refman does not contain material on restrictions in sqlAuthorization mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.1.6, 10.2.2.0, 10.3.1.4
    • 10.4.1.3
    • Documentation
    • None
    • Normal

    Description

      The CREATE SCHEMA statement is subject to access control when running in sqlAuthorization mode.
      Only the database owner can create a schema with name different from the current user name and
      only the the database owner can specify AUTHORIZATION <user>, with a user name other than the
      current user name, cf comment in StatementSchemaPermission#check, ca line 86.

      These restrictions are not described in http://db.apache.org/derby/docs/dev/ref/rrefsqlj31580.html.

      Attachments

        1. DERBY-3084.diff
          1 kB
          Camilla Haase
        2. rrefsqlj31580.html
          6 kB
          Camilla Haase

        Activity

          People

            chaase3 Camilla Haase
            dagw Dag H. Wanvik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: