-
Notifications
You must be signed in to change notification settings - Fork 5
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
Issues Error 403 #2
Comments
Are you using voting in public project as anyomous user? |
It is a public Project, but authenticated users (one admin, one normal user). For tests I changed to a non public project. There is the same error. From the activities page I can open one issue and the voting works fine. Only the tickets overview doesn't work. |
Hmm .. can reproduce. But i have many plugin installed. Please post me log section with error, if there is a error. |
There ist an error: Processing IssuesController#index (for 192.168.178.24 at 2011-11-07 20:13:56) [GET] |
Please try this version (https://github.com/cforce/redmine_vote/blob/3995e8aad7316df0e6818ca76b386114a1712517/lib/query_vote_patch.rb) of query_vote_patch.rb |
Thanks, I'll try when I'm back home. But I think I can't give you feedback until tomorrow evening. |
I did a quick test. The error still existst: Processing IssuesController#index (for 192.168.178.24 at 2011-11-09 19:26:37) [GET] |
I did another quicktest. ;-) |
And ist missing some features. You can't turn it off per project , not one right to set for onf/off function and not localized |
I think its still an anymous user problem. Have no time to fix that imho, we only user private projects.. there it works.. |
I know, this is a very old version. So your actual version would be better. All my tests I did with the admin user and private projects. |
We use redmine 1.2.1 and a lot of plugins..maybe that is the cause ist working for us seamless. I have no empty installation to test ur env - sry |
Can I help you to find this error. For example give you access to my image? |
I did some testing, reading, learning.... In my environment it works now. In the \redmine_vote\app\controllers\issues_controller.rb I comment out two lines: require 'redmine' class IssuesController < ApplicationController #unloadable def vote Now it works fine for me. But I don't know what these two lines should do. Is there any disadvantage by comment these lines out? |
Hmm what righzs was set for the user's role you teste with? either. |
I tested with a "normal" user. The rights for voting I changed often to test all combinations. Your change to: doesn't work. I can't vote. If I click to the up or down arrow, I get a 404 error. At the moment I have commented out one line: skip_before_filter :authorize, :only => [:vote] unloadable And this works fine. |
Well if it works.. ;) Just to be sure you shall check all combinations in user rights
Roles for testuser without rights , shouldn't be able to see/do things stated above. You shall also test this for special roles (you have to apply a patch, see #1 (comment) first)
Give feedback if it works and i will change the code, or make an gitt pull request. |
Now I understand. The additional column "Votes" is now always visible. I have some ideas to test. But no time to test the next days. I will give you feedback when I have new informations. |
I'm still working on it. I think I know where there problem is. But I don't know how to fix it. I will give you feedback if there is something new. |
Well, I definitely have the same problem. Can't see the list of all issues. |
I tried with the patch indicated, and the issue persists. Redmine 1.3.3 |
Redmine 1.4.1 Same error, after commenting
I've got a white screen entering in every issue. |
Hi! Any progress on this? Would be awesome to have it working in redmine 2.0. Currently I get a error "no such file to load -- vote" when calling "db:migrate_plugins RAILS_ENV=production". |
I have another 1.4.1 where the authorization does not work. Users are not anonymous. I noted that the default before_filter in issues_controller now exempts :index as well, so the plugin line should correctly be before_filter :authorize, :except => [ :index, :vote ] |
After a clean install of redmine_vote I can't view all issues. I always get an 403 error.
What I did:
On VmWare Workstation Windows XP image I have installed the Bitname Redmine-Stack.
I created ond Projekt with one issue. Everything worked fine.
Then I wanted to test redmine_vote.
I opened the Redmine-Stack commandline and changed to the plugin-Directory. Then I used the
git clone https://github.com/cforce/redmine_vote.git
command to install the plugin.
After this I executed the
rake db:migrate_plugins RAILS_ENV=production
command to update the database. Everything worked fine.
Then i restarted redmine. Now the "View all issues" page can't be opened. There is always a 403 error.
Is there a way to fix this? I like this plugin verymuch and I would be very happy if I can use this.
The text was updated successfully, but these errors were encountered: