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
- PublicFeed#public_scope
- PublicFeed#media_only?
- Mastodon::Snowflake.timestamp_id_sql_array
- Mastodon::Snowflake.sanitized_timestamp_id_sql
- Mastodon::Snowflake.already_defined?
- Mastodon::Snowflake.to_time
- Mastodon::Snowflake.id_at
- Mastodon::Snowflake.ensure_id_sequences_exist
- Mastodon::Snowflake.define_timestamp_id
- Mastodon::Snowflake::Callbacks.around_create