Dontopedia

log_action

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-08.)

log_action has 31 facts recorded in Dontopedia across 4 references, with 3 live disagreements.

31 facts·23 predicates·4 sources·3 in dispute

Mostly:rdf:type(4), has parameter(4), calls function(1)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (2)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

callsCalls(1)

usedByUsed by(1)

Other facts (29)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

29 facts
PredicateValueRef
Rdf:typeFunction[1]
Rdf:typeFunction[2]
Rdf:typeLogging Function[3]
Rdf:typeExternal Function[4]
Has Parameteruser_role[1]
Has Parameteraction[1]
Has Parametermessage[1]
Has Parameteruser_role[3]
Calls FunctionCheck Access Function[1]
Uses LibraryLogging Library[1]
Logs When Access Grantedinfo-level[1]
Logs When Access Deniedwarning-level[1]
Control Flowconditional-logging[1]
Formats Info Message{user_role} performed {action}: {message}[1]
Formats Warning MessageAccess denied for {user_role} to perform {action}[1]
DependencyCheck Access Function[1]
Return Typevoid[1]
Side Effectlogging-call[1]
Parameter Typestring[1]
UsesAuthenticated User Role[2]
DeterminesAction Permission[2]
Logs Action IfPermitted[2]
LogsWarning[2]
Part ofLog Viewing Access Control[2]
Logs EventResource Access Event[3]
Is Called byProtected Function[3]
PersistsAudit Log[3]
FormatLog Entry[3]
Not Defined in Snippettrue[4]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

typebeam/9769fd56-66f0-4330-8821-e1b056664e0a
ex:Function
labelbeam/9769fd56-66f0-4330-8821-e1b056664e0a
log_action
hasParameterbeam/9769fd56-66f0-4330-8821-e1b056664e0a
user_role
hasParameterbeam/9769fd56-66f0-4330-8821-e1b056664e0a
action
hasParameterbeam/9769fd56-66f0-4330-8821-e1b056664e0a
message
callsFunctionbeam/9769fd56-66f0-4330-8821-e1b056664e0a
ex:check-access-function
usesLibrarybeam/9769fd56-66f0-4330-8821-e1b056664e0a
ex:logging-library
logsWhenAccessGrantedbeam/9769fd56-66f0-4330-8821-e1b056664e0a
info-level
logsWhenAccessDeniedbeam/9769fd56-66f0-4330-8821-e1b056664e0a
warning-level
controlFlowbeam/9769fd56-66f0-4330-8821-e1b056664e0a
conditional-logging
formatsInfoMessagebeam/9769fd56-66f0-4330-8821-e1b056664e0a
{user_role} performed {action}: {message}
formatsWarningMessagebeam/9769fd56-66f0-4330-8821-e1b056664e0a
Access denied for {user_role} to perform {action}
dependencybeam/9769fd56-66f0-4330-8821-e1b056664e0a
ex:check-access-function
returnTypebeam/9769fd56-66f0-4330-8821-e1b056664e0a
void
sideEffectbeam/9769fd56-66f0-4330-8821-e1b056664e0a
logging-call
parameterTypebeam/9769fd56-66f0-4330-8821-e1b056664e0a
string
typebeam/89502017-045f-4a8b-8951-e23ba2d17721
ex:Function
labelbeam/89502017-045f-4a8b-8951-e23ba2d17721
log_action function
usesbeam/89502017-045f-4a8b-8951-e23ba2d17721
ex:authenticated-user-role
determinesbeam/89502017-045f-4a8b-8951-e23ba2d17721
ex:action-permission
logsActionIfbeam/89502017-045f-4a8b-8951-e23ba2d17721
ex:permitted
logsbeam/89502017-045f-4a8b-8951-e23ba2d17721
ex:warning
partOfbeam/89502017-045f-4a8b-8951-e23ba2d17721
ex:log-viewing-access-control
typebeam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
ex:LoggingFunction
hasParameterbeam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
user_role
logsEventbeam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
ex:resource-access-event
isCalledBybeam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
ex:protected-function
persistsbeam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
ex:audit-log
formatbeam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
ex:log-entry
typebeam/1943622f-989f-402b-8b2b-ebf0c808302b
ex:ExternalFunction
notDefinedInSnippetbeam/1943622f-989f-402b-8b2b-ebf0c808302b
true

References (4)

4 references
  1. ctx:claims/beam/9769fd56-66f0-4330-8821-e1b056664e0a
    • full textbeam-chunk
      text/plain1 KBdoc:beam/9769fd56-66f0-4330-8821-e1b056664e0a
      Show excerpt
      - Use a central authentication service to manage user roles and permissions. ### Example Implementation Here's an enhanced version of your code with a more structured approach: ```python import logging # Define roles and their associ
  2. ctx:claims/beam/89502017-045f-4a8b-8951-e23ba2d17721
    • full textbeam-chunk
      text/plain1 KBdoc:beam/89502017-045f-4a8b-8951-e23ba2d17721
      Show excerpt
      1. **Authenticated Users:** - `authenticated_users` dictionary simulates authenticated users and their roles. - Each user is associated with a specific role. 2. **Logging with Access Control:** - `log_action` function uses the aut
  3. ctx:claims/beam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
    • full textbeam-chunk
      text/plain1 KBdoc:beam/7d74fac9-3d07-47c8-96e0-c83b4da6e029
      Show excerpt
      def protected(): if not auth0.authorized: return redirect(url_for('auth0.login')) resp = auth0.get('/userinfo') userinfo = resp.json() user_role = userinfo.get('https://your-domain.auth0.com/roles', 'guest') if n
  4. ctx:claims/beam/1943622f-989f-402b-8b2b-ebf0c808302b

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.