Commit graph

6 commits

Author SHA1 Message Date
da0b045771
Fix missing actor parameters and restore AshAuthentication bypass tests 2026-01-27 10:23:20 +01:00
f993c64c42
Fix test helpers: Use actor parameter correctly 2026-01-27 10:23:18 +01:00
c715a45277
Add actor parameter to all tests requiring authorization
This commit adds actor: system_actor to all Ash operations in tests that
require authorization.
2026-01-27 10:23:16 +01:00
e6b22cff16
Remove skipped get_by_subject test, add explanation
Test removed - JWT flow tested via AshAuthentication integration.
Direct test would require JWT mocking without value.
2026-01-27 10:23:11 +01:00
28526deb9c
Replace for comprehension with explicit describe blocks
Fix Credo parsing error by removing for comprehension.
Duplicate tests for own_data, read_only, normal_user sets.
2026-01-27 10:23:08 +01:00
3ad0db0b2f
test(auth): add User policies test suite
31 tests covering all 4 permission sets and bypass scenarios
Update HasPermission tests to expect false for scope :own without record
2026-01-27 10:23:06 +01:00