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

Download Git Revision Archive for Anonymous user redirect to login page #501

Closed
ghost opened this Issue Aug 26, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@ghost

ghost commented Aug 26, 2015

Hi,
I want allow anonymous user to "Download Git Revision Archive" and I set it in Anonymous role but click on download button when not logged in, redirect to login page.

My config :
Redmine 3.0.3-stable
Redmine git Hosting : 1.1.1

I think the trouble is in plugins/redmine_git_hosting/app/controllers/download_git_revision_controller.rb line 4, because "before_filter :require_login" and "before_filter :can_download_git_revision" are present and anonymous user is'nt login.

ps: I'm work in Marseille not far from you, and I pay bug resolution with Beer ;)

@n-rodriguez n-rodriguez self-assigned this Aug 27, 2015

@n-rodriguez n-rodriguez added the bug label Aug 27, 2015

@n-rodriguez

This comment has been minimized.

Show comment
Hide comment
@n-rodriguez

n-rodriguez Aug 27, 2015

Member

Hi ! Fixed !

ps: I'm work in Marseille not far from you, and I pay bug resolution with Beer ;)

Why not :) But I don't drink, you're warned ^^

Member

n-rodriguez commented Aug 27, 2015

Hi ! Fixed !

ps: I'm work in Marseille not far from you, and I pay bug resolution with Beer ;)

Why not :) But I don't drink, you're warned ^^

n-rodriguez added a commit that referenced this issue Aug 27, 2015

@n-rodriguez n-rodriguez added this to the v1.1.3 milestone Aug 27, 2015

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