trypost/tests
Paulo Castellano 8b52ea2082 fix(permissions): viewers open posts read-only instead of hitting the editor
A viewer clicking a draft/scheduled post landed on the editor route
(authorizes update) and got a 403. The post list/calendar routed every
editable post to the edit page, and PostController@show redirected
draft/scheduled posts to the editor for everyone.

- show only redirects to the editor when the user can update the post;
  viewers get the read-only Show page
- posts index + calendar route to show (not edit) when the user cannot
  create posts
- cover viewer-sees-show, member-redirected-to-editor, and
  viewer-403-on-direct-edit in WorkspaceRolePermissionsTest
2026-06-22 16:41:27 -03:00
..
Feature fix(permissions): viewers open posts read-only instead of hitting the editor 2026-06-22 16:41:27 -03:00
fixtures test(automations): extract inline feed XML into shared fixtures 2026-06-16 11:06:46 -03:00
Unit fix(permissions): enforce workspace roles across backend and UI 2026-06-22 16:31:54 -03:00
CreatesApplication.php feat: Establish a dedicated testing environment with .env.testing, CreatesApplication trait, and Language model factory, integrating language selection into user profile tests and adjusting the languages table migration. 2026-01-18 19:56:04 -03:00
Pest.php refactor: address code review for per-workspace pricing 2026-06-21 21:28:47 -03:00
TestCase.php refactor: move URL validation to the request layer with active_url 2026-05-04 14:35:28 -03:00