summaryrefslogtreecommitdiff
path: root/app/models/node_action.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-24 13:11:51 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-24 13:11:51 +0200
commit02e1aefa24cdd0339995d14431713822f4bf4718 (patch)
treea622727150214f8e9dab165ae48803180c38403d /app/models/node_action.rb
parent38920de3910705dac42af2370da7b3ba504577a9 (diff)
Add TOTP enrollment and verification to User, witnessed in the action log
Diffstat (limited to 'app/models/node_action.rb')
-rw-r--r--app/models/node_action.rb7
1 files changed, 7 insertions, 0 deletions
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
98 # "detached_from" -- array of unique_names, only when any 98 # "detached_from" -- array of unique_names, only when any
99 # "headline_removed_from" -- array of unique_names, only when any 99 # "headline_removed_from" -- array of unique_names, only when any
100 # 100 #
101 # "otp_enroll" / "otp_disable" / "otp_reset" (second-factor lifecycle;
102 # node column nil; participants: the affected User -- the table's first
103 # User-typed subject. otp_disable is self-service; otp_reset is an
104 # administrator clearing someone else's factor, where actor and
105 # participant differ):
106 # "target_login" -- flat string, the affected account's login
107 #
101 # Reserved: "demote" (via "trash" | "depublish") for an explicit 108 # Reserved: "demote" (via "trash" | "depublish") for an explicit
102 # depublish workflow, if ever built. 109 # depublish workflow, if ever built.
103 # 110 #