Skip to content

feat: add global viewer role and global token support#596

Open
sap-yuan wants to merge 3 commits intomasterfrom
feat/global-viewer-role
Open

feat: add global viewer role and global token support#596
sap-yuan wants to merge 3 commits intomasterfrom
feat/global-viewer-role

Conversation

@sap-yuan
Copy link
Copy Markdown
Collaborator

  • Add 'viewer' role (level 15) to OPA admin policy
  • Allow viewer role GET-only access to all resources
  • Add global_token database table (migration 00045)
  • Add encode_global_token() in token.py
  • Support 'global' token type in ibflask.py normalize_token()
  • Add global token CRUD API endpoints under /admin/global-tokens
  • Update OPA projects policy for global token read access

@sap-yuan sap-yuan self-assigned this Mar 20, 2026
@sap-yuan sap-yuan requested a review from liuwei08 March 23, 2026 08:53
sap-yuan and others added 2 commits April 21, 2026 17:03
- Add 'viewer' role (level 15) to OPA admin policy
- Allow viewer role GET-only access to all resources
- Add global_token database table (migration 00045)
- Add encode_global_token() in token.py
- Support 'global' token type in ibflask.py normalize_token()
- Add global token CRUD API endpoints under /admin/global-tokens
- Update OPA projects policy for global token read access
@sap-yuan sap-yuan force-pushed the feat/global-viewer-role branch from f3f932b to 7c686f2 Compare April 22, 2026 02:02
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