Dontopedia

has_role

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

has_role has 37 facts recorded in Dontopedia across 2 references, with 6 live disagreements.

37 facts·26 predicates·2 sources·6 in dispute

Mostly:has parameter(4), rdf:type(2), is defined in(2)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (9)

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.

usedByUsed by(2)

callsCalls(1)

caughtByCaught by(1)

containsContains(1)

describesDescribes(1)

implementedByImplemented by(1)

invokesInvokes(1)

usesUses(1)

Other facts (35)

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.

35 facts
PredicateValueRef
Has Parametertoken[1]
Has Parameterrole_name[1]
Has Parametertoken[2]
Has Parameterrole_name[2]
Rdf:typeFunction[1]
Rdf:typeFunction[2]
Is Defined inExample Code[1]
Is Defined inPython Script[2]
CallsUserinfo Method[1]
CallsKeycloak Openid Userinfo[2]
UsesKeycloak Openid Userinfo[2]
Useskeycloak_openid[2]
Extractsrealm_access[2]
Extractsroles[2]
Return False Whenrole-absent[2]
Return False Whenexception-occurs[2]
PurposeCheck User Role[1]
Belongs to Listed inExample Code[1]
Assigns Result toUserinfo Variable[1]
Designed forAuthorization Check[1]
Contains BodyFunction Body[1]
Returnsboolean[2]
ChecksDense Data Access Role[2]
HandlesKeycloak Error[2]
Prints Error Messagetrue[2]
Has Try Except Blocktrue[2]
CatchesKeycloak Error[2]
Is Defined AsFunction Definition[2]
Checks Membership ofDense Data Access Role[2]
Return True Whenrole-present[2]
Has CommentFunction to check if a user has a specific role[2]
Calls Method onKeycloak Openid[2]
Handles Exception TypeKeycloakError[2]
ValidatesAccess Token[2]
Returns True forDense Data Access Role[2]

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/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:Function
labelbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
has_role
isDefinedInbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:example-code
hasParameterbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
token
hasParameterbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
role_name
purposebeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:check-user-role
callsbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:userinfo-method
belongsToListedInbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:example-code
assignsResultTobeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:userinfo-variable
designedForbeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:authorization-check
containsBodybeam/fc82d783-5078-484a-b28f-d556e6e9c5ab
ex:function-body
typebeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:Function
labelbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
has_role
hasParameterbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
token
hasParameterbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
role_name
returnsbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
boolean
callsbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:keycloak-openid-userinfo
checksbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:dense-data-access-role
handlesbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:keycloak-error
prints-error-messagebeam/4b789af5-9acb-408b-a22c-966f2aee67e6
true
usesbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:keycloak-openid-userinfo
hasTryExceptBlockbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
true
catchesbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:keycloak-error
isDefinedAsbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:function-definition
extractsbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
realm_access
extractsbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
roles
checksMembershipOfbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:dense-data-access-role
returnTrueWhenbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
role-present
returnFalseWhenbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
role-absent
returnFalseWhenbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
exception-occurs
isDefinedInbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:python-script
hasCommentbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
Function to check if a user has a specific role
usesbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
keycloak_openid
callsMethodOnbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:keycloak_openid
handlesExceptionTypebeam/4b789af5-9acb-408b-a22c-966f2aee67e6
KeycloakError
validatesbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:access-token
returnsTrueForbeam/4b789af5-9acb-408b-a22c-966f2aee67e6
ex:dense-data-access-role

References (2)

2 references
  1. ctx:claims/beam/fc82d783-5078-484a-b28f-d556e6e9c5ab
    • full textbeam-chunk
      text/plain1 KBdoc:beam/fc82d783-5078-484a-b28f-d556e6e9c5ab
      Show excerpt
      You've already assigned the `dense-data-access` role to a user. Let's make sure this is done correctly and then move on to enforcing the role in your application. ### Step 3: Enforce Role-Based Access Control in Your Application To enforc
  2. ctx:claims/beam/4b789af5-9acb-408b-a22c-966f2aee67e6

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.