You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A save refused for lack of permission shows an empty error message #478
There was no database error, so the message is empty and the user sees a blank error box with no explanation. load() has the same ambiguity: it returns false both when the item doesn't exist and when the user can't view it.
Fix: record a permission error (noEditPermission / noCreatePermission) when the check fails. Phase 0 of the API proposal adds typed results (not found, forbidden, validation, conflict) so callers can tell these cases apart.
Found by reading the code on dev-5.0.0 @ 179b4eaf; not yet reproduced on a running install.
Activity