-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Release/v1.51.0 #2764
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
Merged
Release/v1.51.0 #2764
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…urce/file/ftp/gofr.dev-1.50.2
…/datasource/file/ftp/gofr.dev-1.50.2
…urce/file/gcs/gofr.dev-1.50.2
…/datasource/file/gcs/gofr.dev-1.50.2
…urce/file/sftp/gofr.dev-1.50.2
…/datasource/file/sftp/gofr.dev-1.50.2
Bumps [gofr.dev](https://github.com/gofr-dev/gofr) from 1.50.1 to 1.50.2. - [Release notes](https://github.com/gofr-dev/gofr/releases) - [Commits](v1.50.1...v1.50.2) --- updated-dependencies: - dependency-name: gofr.dev dependency-version: 1.50.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.257.0 to 0.258.0. - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](googleapis/google-api-go-client@v0.257.0...v0.258.0) --- updated-dependencies: - dependency-name: google.golang.org/api dependency-version: 0.258.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/Azure/azure-sdk-for-go/sdk/storage/azfile](https://github.com/Azure/azure-sdk-for-go) from 1.2.0 to 1.5.3. - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Commits](Azure/azure-sdk-for-go@v1.2...sdk/storage/azfile/v1.5.3) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go/sdk/storage/azfile dependency-version: 1.5.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…/datasource/file/s3/gofr.dev-1.50.2
…urce/file/azure/github.com/Azure/azure-sdk-for-go/sdk/storage/azfile-1.5.3
…/datasource/file/azure/github.com/Azure/azure-sdk-for-go/sdk/storage/azfile-1.5.3
…urce/file/gcs/google.golang.org/api-0.258.0
…/datasource/file/gcs/google.golang.org/api-0.258.0
chore: enhance documentation grammar and readability
Fix minor errors in RBAC doc
* remove metrics implementation in RBAC * fix doc
aryanmehrotra
approved these changes
Dec 27, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release v1.51.0
🚀 New Feature
🔐 Role-Based Access Control (RBAC)
GoFr introduces a config-driven RBAC middleware for enforcing authorization across HTTP APIs without adding role or permission logic inside handlers.
Key Highlights
Authorization defined entirely via JSON/YAML configuration
Permission-based model
Header-based and JWT-based role extraction
Role inheritance support
Exact permission matching (no wildcards)
Gorilla/mux-compatible route matching
Safe-by-default enforcement
Usage
Enable RBAC using default config paths:
Or specify a custom RBAC config file:
JWT Integration
RBAC integrates with GoFr OAuth for JWT-based authorization:
Roles are extracted from JWT claims using configurable claim paths.
Observability
📚 Documentation
Refer to the RBAC documentation for configuration details and advanced usage.