fix: is_allowed answers FALSE for a NULL user instead of failing on auth_cache
release / release (push) Canceled after 0s
release / release (push) Canceled after 0s
This commit is contained in:
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.0.2] - 2026-11-06
|
||||
|
||||
### Fixed
|
||||
- `is_allowed()` with a NULL user id failed with a NOT NULL violation on
|
||||
`auth_cache` instead of answering. `is_allowed()` and `is_allowed_nocache()`
|
||||
now return FALSE for a NULL user, the answer `rls_check()` already gave.
|
||||
Decisions for real users are unchanged.
|
||||
|
||||
## [1.0.1] - 2026-10-14
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user