Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Role based access control implementaion #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
fulleni merged 8 commits into main from role_based_access_control_implementaion
May 18, 2025

Conversation

@fulleni
Copy link
Member

@fulleni fulleni commented May 18, 2025

Status

ready

Description

implemented a role based access control

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • πŸ› οΈ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • βœ… Build configuration change
  • πŸ“ Documentation
  • πŸ—‘οΈ Chore

fulleni added 8 commits May 16, 2025 16:14
- Added permissions and roles
- Created AuthorizationService
- Defined role-permission mapping
- Use UserRole enum
- Use Permission class
- Replaced isAnonymous and isAdmin
- Used UserRole enum for clarity
- Updated auth checks accordingly
...y serialize the UserRole enum in the JWT payload. This change addresses the JWTException seen in the server logs for the /api/v1/auth/anonymous and /api/v1/auth/verify-code routes
- Added key capabilities section
- Updated API endpoints description
- Added access and licensing details
@fulleni fulleni merged commit f665430 into main May 18, 2025
1 check passed
@fulleni fulleni deleted the role_based_access_control_implementaion branch May 18, 2025 16:31
@fulleni fulleni added this to the Foundation Edition milestone Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /