Skip to content

Releases: enjaku4/rabarber

v4.1.2

21 Feb 08:54
Compare
Choose a tag to compare

Misc:

  • Replaced git ls-files with Dir.glob in gemspec for improved portability and compatibility

v4.1.1

22 Jan 23:44
ab920c8
Compare
Choose a tag to compare

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

29 Dec 13:31
3f53c4c
Compare
Choose a tag to compare

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

26 Dec 18:17
fd041ba
Compare
Choose a tag to compare

Misc:

  • Added support for Ruby 3.4
  • Updated some error messages for clarity

v4.0.1

21 Nov 22:21
d619bd3
Compare
Choose a tag to compare

Bugs:

  • Resolved an issue preventing Rabarber from being used with the RBS Rails gem

v4.0.0

09 Nov 09:55
Compare
Choose a tag to compare

Breaking:

  • Dropped support for Ruby 3.0
  • Dropped support for Rails 6.1

Misc:

  • Added support for Rails 8.0

v3.0.2

02 Oct 21:04
490a509
Compare
Choose a tag to compare

Misc:

  • Improved performance for authorization checks
  • Refactored codebase for better maintainability

v3.0.1

14 Aug 18:02
0d7b81f
Compare
Choose a tag to compare

Misc:

  • Added support for Rails 7.2
  • Updated gemspec file to include missing metadata

v3.0.0

07 Jul 10:41
509b9ec
Compare
Choose a tag to compare

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

28 May 17:50
Compare
Choose a tag to compare

Features:

  • Added Rabarber::Authorization.skip_authorization method to skip authorization checks