File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ Errors
779779
780780* ``401 `` - a write without authentication.
781781* ``403 `` - a write by a non-administrator. If no admin claim filter is configured
782- (``API_ADMIN_TOKEN_CLAIMS `` unset) then no user is an admin and the message says
782+ (``API_ADMIN_CLAIMS `` unset) then no user is an admin and the message says
783783 so.
784784* ``404 `` - unknown resource, or unknown content.
785785* ``409 `` - deleting content a ui still references, moving referenced content
@@ -793,13 +793,13 @@ Errors
793793Administrator claims
794794--------------------
795795
796- ``API_ADMIN_TOKEN_CLAIMS `` maps a claim path to a list of regular expressions. The
796+ ``API_ADMIN_CLAIMS `` maps a claim path to a list of regular expressions. The
797797environment variable takes comma-separated ``path:pattern `` pairs, and a bare
798798entry is shorthand for the ``roles `` path::
799799
800- API_ADMIN_TOKEN_CLAIMS =roles:admin
801- API_ADMIN_TOKEN_CLAIMS =admin # the same thing
802- API_ADMIN_TOKEN_CLAIMS =groups:^admins$,admin # both paths
800+ API_ADMIN_CLAIMS =roles:admin
801+ API_ADMIN_CLAIMS =admin # the same thing
802+ API_ADMIN_CLAIMS =groups:^admins$,admin # both paths
803803
804804A configured path the token does not carry simply does not match: the flat
805805``roles `` claim is consulted **only ** for the bare-list form or an explicit
You can’t perform that action at this time.
0 commit comments