[Refactor] Remove NoActor bypass #367

Merged
moritz merged 15 commits from refactor/remove_noactor into main 2026-01-24 14:56:45 +01:00
Owner

Description of the implemented changes

The changes were:

  • Bugfixing
  • New Feature
  • Breaking Change
  • Refactoring

What has been changed?

Definition of Done

Code Quality

  • No new technical depths
  • Linting passed
  • Documentation is added were needed

Accessibility

  • New elements are properly defined with html-tags
  • Colour contrast follows WCAG criteria
  • Aria labels are added when needed
  • Everything is accessible by keyboard
  • Tab-Order is comprehensible
  • All interactive elements have a visible focus

Testing

  • Tests for new code are written
  • All tests pass
  • axe-core dev tools show no critical or major issues

Additional Notes

## Description of the implemented changes The changes were: - [x] Bugfixing - [ ] New Feature - [x] Breaking Change - [x] Refactoring <!--- Describe the goal of the PR in a few words --> ## What has been changed? <!--- List the things you changed --> ## Definition of Done ### Code Quality - [ ] No new technical depths - [x] Linting passed - [x] Documentation is added were needed ### Accessibility - [ ] New elements are properly defined with html-tags - [ ] Colour contrast follows WCAG criteria - [ ] Aria labels are added when needed - [ ] Everything is accessible by keyboard - [ ] Tab-Order is comprehensible - [ ] All interactive elements have a visible focus ### Testing - [x] Tests for new code are written - [x] All tests pass - [ ] axe-core dev tools show no critical or major issues ## Additional Notes <!--- Add any additional information for the reviewers here -->
moritz added this to the Accounts & Logins milestone 2026-01-23 20:08:44 +01:00
moritz self-assigned this 2026-01-23 20:08:45 +01:00
moritz added 3 commits 2026-01-23 20:08:46 +01:00
This removes the NoActor bypass that was masking authorization bugs in tests.
All operations now require an explicit actor for authorization.
- Role lookup and creation (find_admin_role, create_admin_role)
- System user creation and role assignment
- Role loading during initialization
Add actor parameter to all tests requiring authorization
All checks were successful
continuous-integration/drone/push Build is passing
a6cdeaa18d
This commit adds actor: system_actor to all Ash operations in tests that
require authorization.
moritz added this to the Sprint 11: 08.01-29.01 project 2026-01-23 20:08:48 +01:00
moritz added 1 commit 2026-01-24 00:33:14 +01:00
Update documentation: Remove NoActor bypass references
All checks were successful
continuous-integration/drone/push Build is passing
f5fe7b0fcd
moritz added 5 commits 2026-01-24 01:46:13 +01:00
moritz force-pushed refactor/remove_noactor from 7e85ed7d3e to 15a7c615d6 2026-01-24 02:40:45 +01:00 Compare
moritz added 1 commit 2026-01-24 08:53:16 +01:00
Fix missing actor parameters and restore AshAuthentication bypass tests
All checks were successful
continuous-integration/drone/push Build is passing
71c13d0ac0
moritz added 2 commits 2026-01-24 12:53:32 +01:00
moritz merged commit 9fe872ee58 into main 2026-01-24 14:56:45 +01:00
moritz deleted branch refactor/remove_noactor 2026-01-24 14:56:45 +01:00
moritz modified the milestone from Accounts & Logins to We have different roles and permissions 2026-02-03 16:39:00 +01:00
Sign in to join this conversation.
No description provided.