-
[Pundit](https://github.com/varvet/pundit) was suggested before. We can take a look at multiple gems and discuss it.
-
**Unable to scope records returning from Elastic Search since they are Non Active Record collections**
I have a custom connection to fetch a collection and I'm using Elastic Search to retrieve that…
-
I was wondering how I should deal with having multiple scopes to authorise against. Performance-wise it doesn't make too much sense to iterate over the collection and retrieve related associations per…
ghost updated
4 years ago
-
Hey there,
I'm trying to use this utility to generate JWT tokens for my API mounted inside a Rails engine. I'm able to create a `BetterTogether::User` and login successfully, but I'm not seeing any…
-
Now that we're settling on a NestJS / Passport [vision of authentication](https://docs.nestjs.com/techniques/authentication) (authn), at least in the short-medium term, we can turn our attention to au…
-
Hello!
Are you planning to support graphql-ruby 1.11.0 ?
-
```
❯ bundle -v
Bundler version 2.2.0
```
Bundler version 2.2.0 (rc1 and rc2 works fine)
Sample gemfile:
```
# frozen_string_literal: true
source 'https://rubygems.org'
ruby '2.7.2'…
-
I have two roles Admin and Manager and can't understand why records created by admin can't be updated by manager.
How roles and accesses works in Trerstle?
-
### API
- [x] Add Pundit and policies
- [x] Add policies that restrict management to own account
- [x] Pass uid during auth
### Web
- [x] Add current-user service (ESA docs)
- [x] Add account …
sorta updated
4 years ago
-
`app/policies/mvi_policy.rb` defines `MviPolicy` and should become `app/policies/mpi_policy.rb` and use the inflection to be `MPIPolicy`.