Skip to content

remove auth_dsl_file '.freeze' so that Engines can also load auth info#3

Open
btihen wants to merge 1 commit intoXymist:allow_rails_5from
Garaio-REM:allow_rails_5
Open

remove auth_dsl_file '.freeze' so that Engines can also load auth info#3
btihen wants to merge 1 commit intoXymist:allow_rails_5from
Garaio-REM:allow_rails_5

Conversation

@btihen
Copy link

@btihen btihen commented Aug 26, 2020

This change make declarative_authorization (rails 5) version Engine compatible.

While '.freeze' is a good idea on the AUTH_DSL_FILES constant, it prevents Engines from loading supplimental information after the Rails Core has been loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant