Skip to content

Conversation

@utix
Copy link

@utix utix commented Jan 15, 2023

x_groups gives you the groups of an user but you don't know if it is an admin or a member

add x_groups_perm to add a _admin group for admin

{
  "sub": "admi.nistrateur.1942",
  "name": "Admi Nistrateur",
  "email": "admi.nistrateur@m4x.org",
  "study_years": [
    "X1942"
  ],
  "x_groups": [
    "1942",
    "Polytechnique.org",
    "X-Informatique"
  ],
  "x_groups_perm": [
    "1942",
    "Polytechnique.org",
    "Polytechnique.org_admin",
    "X-Informatique"
  ]
}

This allows to easily match groups with other tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant