Releases: enjaku4/rabarber
Releases · enjaku4/rabarber
v4.1.2
Misc:
- Replaced
git ls-files
with Dir.glob
in gemspec for improved portability and compatibility
v4.1.1
Bugs:
- Fixed an issue where controller-wide
grant_access
calls would overwrite each other instead of being additive, causing inconsistent access control based on statement order
Misc:
- Minor performance improvement for authorization checks
v4.1.0
Features:
- Added
Rabarber::Role.all_names
method to retrieve all roles available in the application, grouped by context
- Added
Rabarber::HasRoles#all_roles
method to retrieve all roles assigned to a user, grouped by context
Bugs:
- Fixed potential bug in role revocation caused by checking for the presence of a role in the cache instead of the database
v4.0.2
Misc:
- Added support for Ruby 3.4
- Updated some error messages for clarity
v4.0.1
Bugs:
- Resolved an issue preventing Rabarber from being used with the RBS Rails gem
v4.0.0
Breaking:
- Dropped support for Ruby 3.0
- Dropped support for Rails 6.1
Misc:
- Added support for Rails 8.0
v3.0.2
Misc:
- Improved performance for authorization checks
- Refactored codebase for better maintainability
v3.0.1
Misc:
- Added support for Rails 7.2
- Updated gemspec file to include missing metadata
v3.0.0
Breaking:
- Changed Rabarber roles table structure
To upgrade to v3.0.0, please refer to the migration guide
Features:
- Introduced the ability to define and authorize roles within a specific context
Misc:
- Revised log messages in the audit trail for clarity and conciseness
v2.1.0
Features:
- Added
Rabarber::Authorization.skip_authorization
method to skip authorization checks