To manage access in Pangolin via Authentik, go to Server Admin -> Identity Providers -> Edit -> Organization Policies tab and set the following fallback mappings:

Default Role Mapping:
contains(groups, 'pangolin-admin') && 'Admin' || 'Member'

Default Organization Mapping:
contains(groups, 'pangolin-org-{{orgId}}')

Then in Authentik, assign groups to users:

  1. Go to Directory -> Groups and create:
  2. Go to Directory -> Users -> -> Groups
    • Add the user the correct pangolin-org-{orgId} group
    • Optionally add the pangolin-admin if they need admin rights.