Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-990

rename the UpdateDeniedException

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Jena 3.0.0
    • Fix Version/s: Jena 3.0.0
    • Component/s: Core
    • Labels:
      None

      Description

      As noted in a discussion on the dev list between myself and Andy this update is to rename the current UpdateDeniedException to AccessDeniedException and extend it from a newly created OperationDeniedException.

      AddDeniedException and DeleteDeniedException will extend AccessDeniedException.

      jena-permissions will extend AccessDeniedException to create:
      ReadDeniedException – for read restrictions
      UpdateDeniedException – for update restrictions (modifying triples that already exists as opposed to adding new triples)

      This will allow Fuskei to properly respond to the case where jena-permissions is in place and there are update restrictions in place. Currently Fuseki returns this as a 500 error. Once we have a common permission denied exception we can return either authentication required or access denied as appropriate.

        Attachments

          Activity

            People

            • Assignee:
              claude Claude Warren
              Reporter:
              claude Claude Warren
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: