Skip to content
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

Anonymous can import issue #32

Open
ghost opened this issue Aug 24, 2012 · 2 comments
Open

Anonymous can import issue #32

ghost opened this issue Aug 24, 2012 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 24, 2012

Hi,

Thanks for your great plug-in!
I want to report a bug: Though I have set permission for anonymous can do nothing, they still can import issues via Importer page - just come to link: http://my_server/importer?project_id=project_id and import as usual and it is still successful.

Regards,

@logical-and
Copy link

Yeah, this is really bug.

@ghost
Copy link
Author

ghost commented Sep 20, 2012

Hi,

I have tried to change some thing to fix the problem:
Edit file '$REDMINE_HOME/vendor/plugins/redmine_importer/init.rb'
--> permission :import, {:importer => [:index, :match, :result]} #add :match, :result

Edit file '$REDMINE_HOME/vendor/plugins/redmine_importer/app/controllers/importer_controller.rb'
--> before_filter :find_project, :authorize #add :authorize

Regards,

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

1 participant