https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40461

            Bug ID: 40461
           Summary: Koha should return 403 when a feature is disabled
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

This should be an umbrella bug, unless there are no conflicting cases and we
can solve them all in this report.

Picking `opac-export.pl` as an example, if there are no export formats enabled,
the tool returns a 400. This status code means:

```
The HTTP 400 Bad Request client error response status code indicates that the
server would not process the request due to something the server considered to
be a client error. The reason for a 400 response is typically due to malformed
request syntax, invalid request message framing, or deceptive request routing.
```

I propose we standardize on `403` [1]


[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to