mitgliederverwaltung/test/mv_web
Moritz ff9c8d2d64
feat: add UI-level authorization helpers
Implement MvWeb.Authorization module with can?/3 and can_access_page?/2
functions for conditional rendering in LiveView templates.

- can?/3 supports both resource atoms and record structs with scope checking
- can_access_page?/2 checks page access permissions
- All functions use PermissionSets module for consistency with backend
- Graceful handling of nil users and invalid permission sets
- Comprehensive test coverage with 17 test cases
2026-01-08 16:16:53 +01:00
..
components tests: fixes tests 2026-01-02 16:20:39 +01:00
controllers test updated 2025-12-01 10:43:19 +01:00
helpers chore: movs display name helper to won helper module 2026-01-07 09:54:37 +01:00
live Fix failing tests 2025-12-18 15:10:35 +01:00
member_live chore: movs display name helper to won helper module 2026-01-07 09:54:37 +01:00
user_live fix tests with async true 2025-12-23 16:14:58 +01:00
authorization_test.exs feat: add UI-level authorization helpers 2026-01-08 16:16:53 +01:00
locale_test.exs add further locale tests 2025-06-18 23:35:43 +02:00