Cleanup guest user handling #3976

Closed
opened 2026-02-05 08:00:27 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ssddanbrown on GitHub (Aug 17, 2023).

Originally assigned to: @ssddanbrown on GitHub.

  • Look at uses of User::getDefault (and clearDefault).
  • Update tests to use $this->users->guest().
  • See if handling/caching can be moved elsewhere, maybe avoid specific clearDefault call in testcase.
  • Review helpers.php functions to ensure all is needed.
Originally created by @ssddanbrown on GitHub (Aug 17, 2023). Originally assigned to: @ssddanbrown on GitHub. - Look at uses of `User::getDefault` (and `clearDefault`). - Update tests to use `$this->users->guest()`. - See if handling/caching can be moved elsewhere, maybe avoid specific clearDefault call in testcase. - Review `helpers.php` functions to ensure all is needed.
OVERLORD added the 🔧 Maintenance🏭 Back-End labels 2026-02-05 08:00:27 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 16, 2023):

Closed via https://github.com/BookStackApp/BookStack/pull/4554

@ssddanbrown commented on GitHub (Sep 16, 2023): Closed via https://github.com/BookStackApp/BookStack/pull/4554
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3976