Skip to content

Admin controller: Why is the dev/test environment different from production? #206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jhsu802701 opened this issue Feb 5, 2019 · 2 comments

Comments

@jhsu802701
Copy link
Contributor

In src/app/controllers/admin/admin_controller.rb, I see that authentication is required to access admin actions in the production environment but not in the development and testing environments. Why don't the development and test environments have the same restriction? This production-only restriction is untested.

@look
Copy link
Member

look commented Feb 6, 2019

I think this was mostly so you don't have to type in the password to test the admin in development mode.

@unsay
Copy link
Contributor

unsay commented Feb 12, 2025

Closing. We plan to use Active Admin or an admin role in #321 and this will no longer be relevant.

@unsay unsay closed this as completed Feb 12, 2025
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

No branches or pull requests

3 participants