Commit graph

  • 7d33acde9f feat(system_actor): add system_user?/1 and normalize email Moritz 2026-01-27 17:37:28 +01:00
  • 41bc031cc6 refactor(web): extract format_ash_error to MvWeb.ErrorHelpers Moritz 2026-01-27 17:37:23 +01:00
  • eb8d78f834 Add gettext strings for system actor show/edit redirect messages Moritz 2026-01-27 14:29:32 +01:00
  • 9c31f0c16c Add tests for system actor protection and hiding Moritz 2026-01-27 14:29:26 +01:00
  • 8ad5201e1a Hide system actor from user list and block show/edit Moritz 2026-01-27 14:29:13 +01:00
  • b7f37c80bd Prevent deletion of system actor user Moritz 2026-01-27 14:29:07 +01:00
  • acb33b9f3b Ensure system actor user exists via migration Moritz 2026-01-27 14:29:01 +01:00
  • 0a2aa3bad0 Merge pull request 'Add groups resource close #371' (#378) from feature/371-groups-resource into main simon 2026-01-27 17:17:25 +01:00
  • 5df1da1573 Merge branch 'main' into feature/371-groups-resource simon 2026-01-27 17:16:34 +01:00
  • e92c98b559
    refactor: fix review issues - member_count aggregate, migration down, docs, actor handling Simon 2026-01-27 17:09:07 +01:00
  • fc8306cfee
    test: resolve warnings Simon 2026-01-27 16:38:17 +01:00
  • b974e7d685 Merge pull request 'CustomFieldValue Resource Policies closes #369' (#377) from feature/369_customfieldvalue_policies into main moritz 2026-01-27 16:07:47 +01:00
  • bfe9fba2e0 Docs: document bypass read rule for CustomFieldValue pattern Moritz 2026-01-27 15:44:44 +01:00
  • 0219073d33 CFV policies test: system_actor for setup, verify destroy with actor Moritz 2026-01-27 15:44:43 +01:00
  • 4d3a249b0c HasPermission: remove unused _authorizer from strict_check helper Moritz 2026-01-27 15:44:40 +01:00
  • 3f95a2dd84 CustomFieldValue: remove unused require Ash.Query Moritz 2026-01-27 15:44:39 +01:00
  • 7153af23ee CustomFieldValueCreateScope: use get_argument_or_attribute for member_id Moritz 2026-01-27 15:44:38 +01:00
  • 9e6c79bf40 chore: remove start-database from test action Moritz 2026-01-27 13:41:33 +01:00
  • db95979bf5 Document CustomFieldValue policies and own_data create/destroy in architecture Moritz 2026-01-27 13:40:38 +01:00
  • 4e032ea778 Add CustomFieldValue policy tests (own_data, read_only, normal_user, admin) Moritz 2026-01-27 13:40:34 +01:00
  • 17831a0948 Pass actor to CustomFieldValue destroy and load in existing tests Moritz 2026-01-27 13:40:29 +01:00
  • bf2d0352c1 Add authorization policies to CustomFieldValue resource Moritz 2026-01-27 13:40:22 +01:00
  • c7c6b318ac Add CustomFieldValueCreateScope check for create actions Moritz 2026-01-27 13:40:17 +01:00
  • 8f5f69744c Add CustomFieldValue create/destroy :linked to own_data permission set Moritz 2026-01-27 13:40:12 +01:00
  • 6db64bf996
    feat: add groups resource #371 Simon 2026-01-27 16:03:21 +01:00
  • 8e9fbe76cf
    docs: add testing philosophy to coding guideline and update groups architecture docs #371 Simon 2026-01-27 15:22:41 +01:00
  • 0216dfcbbb
    test: add tests for group resource #371 Simon 2026-01-27 15:04:26 +01:00
  • 2ebf289112
    docs: add slugs to group concept #371 Simon 2026-01-27 13:41:25 +01:00
  • 8dd216f58f Merge pull request 'Add groups concept to docs closes #307' (#370) from feature/#307-concept-groups into main simon 2026-01-27 13:15:12 +01:00
  • b128ffb51c
    docs: add groups concept Simon 2026-01-27 13:04:27 +01:00
  • 2d1ddfa654
    Fix missing max_errors assign in GlobalSettingsLive Moritz 2026-01-25 18:36:33 +01:00
  • dc1acb815e
    Improve CSV import error messages Moritz 2026-01-25 18:33:28 +01:00
  • 8a5f519099
    Fix CSV upload file reading Moritz 2026-01-25 18:33:27 +01:00
  • 64952d4ff4
    Security: Require actor parameter in CSV import Moritz 2026-01-25 18:33:25 +01:00
  • 33dc8307c8
    fix tests and linting carla 2026-01-23 18:56:14 +01:00
  • f2b363cca5
    i18n: add translations carla 2026-01-23 18:13:32 +01:00
  • 08534539aa
    formatting carla 2026-01-23 17:57:16 +01:00
  • c914e25483
    formatting and refactoring carla 2026-01-23 17:52:09 +01:00
  • 0acdc82bcc
    refactor carla 2026-01-23 12:54:48 +01:00
  • dd68d2efbc
    refactor carla 2026-01-20 14:23:27 +01:00
  • 79d0fa0376
    fat: adds csv import live view to settings carla 2026-01-20 10:05:40 +01:00
  • dae9d039c1
    test: adds live view csv import tests carla 2026-01-19 13:21:50 +01:00
  • 793a66639a
    Fix: Don't cache nil in default_role_id to prevent bootstrap issues Moritz 2026-01-25 17:11:05 +01:00
  • 8e519d643d
    Add NOT NULL constraint to users.role_id and optimize default_role_id Moritz 2026-01-25 17:04:37 +01:00
  • 047b818ec5
    chore: increase test timeout and cleanup unused code Moritz 2026-01-25 13:39:20 +01:00
  • 93e966bc6b
    test: adapt tests for attribute-level default solution Moritz 2026-01-25 13:39:18 +01:00
  • f984819508
    refactor: remove AssignDefaultRole change module Moritz 2026-01-25 13:39:16 +01:00
  • e906f22c4d
    fix: bind role_name variable before using in Ash.Query.filter Moritz 2026-01-25 13:39:14 +01:00
  • 35fbfe54da
    fix: improve migration to create 'Mitglied' role if missing Moritz 2026-01-25 13:39:12 +01:00
  • 5164836d32
    feat: implement attribute-level default for role_id assignment Moritz 2026-01-25 13:39:10 +01:00
  • 885fe613cb
    Add comprehensive tests for default role assignment Moritz 2026-01-24 19:13:17 +01:00
  • d77eb4d55e
    Add test support for default role assignment Moritz 2026-01-24 19:13:15 +01:00
  • cea68638e6
    Update seeds to create all 5 authorization roles Moritz 2026-01-24 19:13:13 +01:00
  • aaced70b8e
    Integrate AssignDefaultRole change into user creation actions Moritz 2026-01-24 19:13:11 +01:00
  • 4ec90770a4
    Add AssignDefaultRole change for automatic role assignment Moritz 2026-01-24 19:13:08 +01:00
  • d320cdf14e
    Fix HasPermission check to handle nil member_id gracefully Moritz 2026-01-24 19:13:07 +01:00
  • e30be4c228
    Add Role helper function and create_role_with_system_flag action Moritz 2026-01-24 19:13:04 +01:00
  • a7e6136648
    Add migration to assign 'Mitglied' role to existing users Moritz 2026-01-24 19:13:03 +01:00
  • f426e853de
    Remove unused allow_no_actor_bypass config option Moritz 2026-01-24 10:43:50 +01:00
  • ee50f312ee
    Remove NoActor module, improve Member validation, update docs Moritz 2026-01-24 10:43:20 +01:00
  • da0b045771
    Fix missing actor parameters and restore AshAuthentication bypass tests Moritz 2026-01-24 08:38:33 +01:00
  • 31699b7c90
    Fix rebase conflict: Add actor parameter to helper functions in index_test.exs Moritz 2026-01-24 02:39:06 +01:00
  • 2d7461e36f
    Use admin_user instead of system_actor in LiveView tests Moritz 2026-01-24 02:10:08 +01:00
  • d807577822
    Fix test db connections: increase pool size and timeout Moritz 2026-01-24 02:06:21 +01:00
  • aedd29c118
    Fix tests: Remove redundant system_actor and update test descriptions Moritz 2026-01-24 01:42:22 +01:00
  • 0e6b464e0a
    Fix tests: Add missing actor parameters to Ash operations Moritz 2026-01-24 01:42:20 +01:00
  • f993c64c42
    Fix test helpers: Use actor parameter correctly Moritz 2026-01-24 01:42:18 +01:00
  • 875abc693b
    Fix tests: Remove duplicate actor keyword arguments Moritz 2026-01-24 01:42:17 +01:00
  • ba5c982368
    Use authorize?: false for integrity checks in validations Moritz 2026-01-24 01:42:15 +01:00
  • b387897adb
    Update documentation: Remove NoActor bypass references Moritz 2026-01-23 20:18:28 +01:00
  • c715a45277
    Add actor parameter to all tests requiring authorization Moritz 2026-01-23 20:00:24 +01:00
  • 0cedbe52f9
    Add authorize?: false to SystemActor bootstrap operations Moritz 2026-01-23 20:03:44 +01:00
  • 73dc05c6d4
    Remove NoActor bypass from User and Member policies Moritz 2026-01-23 20:00:18 +01:00
  • 36edee6fcc
    Fix: Ensure members are loaded in handle_params when signature unchanged Simon 2026-01-23 14:48:37 +01:00
  • 8f7f0de822
    docs: add authorization bootstrap patterns section Moritz 2026-01-23 02:53:20 +01:00
  • 21d8d65492
    Fix OIDC account linking by using SystemActor in LinkOidcAccountLive Moritz 2026-01-23 02:14:59 +01:00
  • fe07a4e955
    Fix OIDC login by using SystemActor in OidcEmailCollision validation Moritz 2026-01-23 02:12:53 +01:00
  • 3051ac9e38
    Fix authorization bypass in seeds and validations Moritz 2026-01-23 02:08:11 +01:00
  • ef4df57a6f
    Restrict Actor.ensure_loaded to Mv.Accounts.User only Moritz 2026-01-22 23:17:55 +01:00
  • 726f164b28
    Fix remaining runtime guard references in CODE_GUIDELINES Moritz 2026-01-22 23:12:33 +01:00
  • 921cc22c09
    Update CODE_GUIDELINES for Application.compile_env pattern Moritz 2026-01-22 23:05:00 +01:00
  • e6b22cff16
    Remove skipped get_by_subject test, add explanation Moritz 2026-01-22 23:04:58 +01:00
  • 3d753c5460
    Add authorize?: false to Actor.ensure_loaded Moritz 2026-01-22 23:04:56 +01:00
  • 69836978be
    Remove unused PolicyHelpers macro and PolicyConsistency test Moritz 2026-01-22 22:37:09 +01:00
  • 213521ecf6
    Add centralized Actor.ensure_loaded helper Moritz 2026-01-22 22:37:07 +01:00
  • ab0407abb1
    Replace NoActor runtime Mix.env with compile-time config Moritz 2026-01-22 22:37:04 +01:00
  • 370e5af568
    Update documentation for User credentials strategy Moritz 2026-01-22 21:36:22 +01:00
  • d0c1996d6e
    Add policy consistency tests Moritz 2026-01-22 21:36:19 +01:00
  • 0d2c8e0905
    Add PolicyHelpers macro for standard user policies Moritz 2026-01-22 21:36:18 +01:00
  • 28526deb9c
    Replace for comprehension with explicit describe blocks Moritz 2026-01-22 21:36:16 +01:00
  • 3852c93ac9
    Centralize role preloading in global LiveView on_mount Moritz 2026-01-22 21:36:15 +01:00
  • fb5f4990b8
    Shorten User policy comments to state what only Moritz 2026-01-22 21:36:12 +01:00
  • 87e7310cea
    Clarify User.update :own in permission sets Moritz 2026-01-22 21:36:11 +01:00
  • 7eb7149e18
    Add role loading fallback to HasPermission check Moritz 2026-01-22 21:36:10 +01:00
  • 298a13c2e4
    Harden NoActor check with runtime environment guard Moritz 2026-01-22 21:36:09 +01:00
  • cbc85f8bb8
    docs(auth): document User policies and bypass pattern Moritz 2026-01-22 19:19:27 +01:00
  • 3ad0db0b2f
    test(auth): add User policies test suite Moritz 2026-01-22 19:19:25 +01:00
  • de187190e4
    feat(auth): add User resource authorization policies Moritz 2026-01-22 19:19:22 +01:00
  • d9f5579350
    Move require Logger to module level Moritz 2026-01-21 08:35:34 +01:00
  • d893c0680a
    Update gettext translations for new UI strings Moritz 2026-01-21 08:02:40 +01:00