rolify
https://github.com/rolifycommunity/rolify
Ruby
Role management library with resource scoping
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
6 Subscribers
Add a CodeTriage badge to rolify
Help out
- Issues
- Bad query generation in very specific case
- with_role returns all the records more than expected
- Add_role creates a new role instead of just assigning
- improve documentation for has_cached_role?
- Bump actions/checkout from 3 to 4
- has_role? does not work for new_records
- Can't join 'User' to association named 'users_roles'; perhaps you misspelled it?
- Specs fail if user itself is resourcified
- improve respond_to handling for is_..? methods
- can we define a hierarchy for the role lookup until it goes to global?
- Docs
- UserMailer#webauthn_credential_deleted
- UserMailer#webauthn_credential_added
- UserMailer#webauthn_disabled
- UserMailer#webauthn_enabled
- UserMailer#two_factor_recovery_codes_changed
- UserMailer#two_factor_disabled
- UserMailer#two_factor_enabled
- UserMailer#email_changed
- UserMailer#password_change
- UserMailer#reset_password_instructions