Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2109 System privileges
  3. DERBY-3488

Add functional (ie user level) tests for system privileges

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Test
    • None

    Description

      Having worked through committing a significant portion of patch12 from DERBY-2109 it seems that it contained no functional tests related to the functionality it is implementing. I'm basing this on the fact that all test code changes are applied and all pass with the functionality disabled.

      So having tests that ensured:

      • users with invalid authentication can not shut a network server down
      • granting permissions (shutdown server, engine & create database) to specific principals works (and disallows principals without th permission)

      is really key for a security feature.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djd Daniel John Debrunner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: