bucketeer-io / bucketeer

Feature Flag Management and A/B Testing platform

Home Page:https://bucketeer.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System admin does not have access to resources

kentakozuka opened this issue · comments

Version

main

Describe the bug

generateToken should return is_system_admin: true if the account is a system admin.

idToken := &token.IDToken{
Issuer: claims.Iss,
Subject: claims.Sub,
Audience: claims.Aud,
Expiry: time.Unix(claims.Exp, 0),
IssuedAt: time.Unix(claims.Iat, 0),
Email: claims.Email,
AdminRole: adminRole,

Steps to reproduce the bug

No response

Expected behavior

No response

Relevant log output

No response

Additional information

No response