Review main Merged

69304[BUGFIX] Prevent disabling and deleting of current user

Oli Bartsch CR +2 V +2 Normal +54 −3 updated 05/28/21, 18:16

Commit message

Both, the recordlist as well as the backend user module
already check the currently logged in user when evaluating
the available record actions, e.g. disable or delete.

Since disabling / deleting the currently logged in user
will result in a completely broken state, which can only
be fixed with direct database access, those checks
are now also implemented in FormEngine and the
ContextMenu. Furthermore, a new DisplayCond is added
to hide the "disable" field in the current user record.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4