trestle-auth
trestle-auth copied to clipboard
Authentication plugin for the Trestle admin framework
NameError in Auth::AdministratorsAdmin::AdminController#index def scopes @scopes ||= Scopes.new(self) end
I've been using trestle happily with my own hand-rolled auth (basically doing `Trestle::ApplicationController.send(:include, MyAuthConcern` in a `Trestle.configure` block). However I wanted to add trestle-sidekiq to the mix and it requires...
After installation of the gem when I run the generator it fails. ``` rails generate trestle:auth:install AdminUser --devise ``` fails with ``` /app/app/admin/auth/admin_users_admin.rb:1:in `': uninitialized constant Auth (NameError) Trestle.resource(:admin_users, model:...
Noob here - I've got rails with Trestle and trestle-auth working on a simple tryout app. This question is similar to https://github.com/TrestleAdmin/trestle-auth/issues/21 but a little bit different. FYI - In...
I try to use trestle-auth with the authorization branch with a very barebone Trestle resource : ```rb # frozen_string_literal: true Trestle.resource(:plans) do authorize_with pundit: PlanPolicy end ``` ```rb # frozen_string_literal:...