From 02e1aefa24cdd0339995d14431713822f4bf4718 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Fri, 24 Jul 2026 13:11:51 +0200 Subject: Add TOTP enrollment and verification to User, witnessed in the action log --- app/models/node_action.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/models/node_action.rb') diff --git a/app/models/node_action.rb b/app/models/node_action.rb index afa2195c..a9bb0e45 100644 --- a/app/models/node_action.rb +++ b/app/models/node_action.rb @@ -98,6 +98,13 @@ class NodeAction < ApplicationRecord # "detached_from" -- array of unique_names, only when any # "headline_removed_from" -- array of unique_names, only when any # + # "otp_enroll" / "otp_disable" / "otp_reset" (second-factor lifecycle; + # node column nil; participants: the affected User -- the table's first + # User-typed subject. otp_disable is self-service; otp_reset is an + # administrator clearing someone else's factor, where actor and + # participant differ): + # "target_login" -- flat string, the affected account's login + # # Reserved: "demote" (via "trash" | "depublish") for an explicit # depublish workflow, if ever built. # -- cgit v1.3