Loading
[fix] Multiple access lock and readonly mode set before checking rights to the response
[fix] Response id with leading zero, decimal or exponent is invalid [feature] API 5.13.0 : Utilities::getAllowEditWay, Utilities::loadAllowedResponse and Utilities::isCurrentResponse
Summary by CodeRabbit
- Bug Fixes
- Response access is checked before a response is opened or locked; unauthorized reloads no longer proceed.
- Invalid surveys and non-canonical response IDs are rejected without loading a response.
- Responses already current in the session are matched consistently, and permission checks are skipped only when loading is requested.
- Failed loads and denied permissions return a failure result, while successful authorization and loading are reported distinctly.
- Access-code and administrator authorization errors follow the configured error handling rather than being treated as successful checks.
Edited by CodeRabbit