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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment