redmine_meeting plugin --> access denied on create, edit or delete doodle
Added by Vincenzo Sorrentino almost 13 years ago
Hi All,
I've succesfully installed redmine_meeting plugins using these statement:- gem install ri_cal
- git clone git://github.com/amartel/redmine_meetings.git
- rake db:migrate_plugins RAILS_ENV=production
However when I go on a meeting tab in a project and try to do new Doodle (or editing/delete an existing doodle) I receive a
message (redmine_meeting_edit_doodle_error.png) even if I've all permission setted correctly (redmine_meeting_permission.png)
403 You are not authorized to access this page
Have you an idea of how I can solve this problem?
redmine_meeting should include doodle plugin hence I must not install a redmine_doodle plugin. Is correct?
P.S. I have to create the issue in plugin discussion.. sorry
Thanks
Best Regards
Vincenzo
redmine_meeting_permission.png (7.39 KB) redmine_meeting_permission.png | permission setted | ||
redmine_meeting_edit_doodle_error.png (4.79 KB) redmine_meeting_edit_doodle_error.png | access denied | ||
redmine_meeting_edit_doodle.png (30.2 KB) redmine_meeting_edit_doodle.png | Edit or delete doodle |
Replies (8)
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Arnaud Martel almost 13 years ago
Vincenzo,
First, there is no need to install another plugin (and redmine_doodle is not integrated in my plugin).
Second, I don't understand why you received these error messages. Could you give more information about your configuration, please? Especially, the result of RAILS_ENV=production ruby script/about (as described in Submissions) will be very helpful...
Kind regards,
Arnaud
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Vincenzo Sorrentino almost 13 years ago
Hi Arnaud,
So do I don't understand the reason of error.
However, in attachment the result of command that you have requested
Best Regards
Vincenzo
ruby_script_about.txt (700 Bytes) ruby_script_about.txt |
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Arnaud Martel almost 13 years ago
Vincenzo,
I've seen your file and everything seems to be OK.
I have looked in my code (and in redmine too) and the only reason for your error message seems to be the standard permissions check.
I know that this may be a stupid question but are you sure that your current user has the correct permissions?
If yes, could you look into the log file (log/production.log) to see if there are additional information??
A good log extract would be, for example:
Processing MeetingsController#show_doodle (for XXX.XXX.XXX.XXX at 2012-02-06 13:21:15) [GET] Parameters: {"action"=>"show_doodle", "controller"=>"meetings", "project_id"=>"test", "id"=>"3"} Rendering template within layouts/base Rendering meetings/show_doodle Completed in 444ms (View: 76, DB: 271) | 200 OK [http://redmine.server.ano/redmine/projects/test/meetings/show_doodle?id=3] Processing MeetingsController#edit_doodle (for XXX.XXX.XXX.XXX at 2012-02-06 13:21:19) [GET] Parameters: {"action"=>"edit_doodle", "controller"=>"meetings", "id"=>"3"} Rendering template within layouts/base Rendering meetings/edit_doodle Completed in 283ms (View: 69, DB: 207) | 200 OK [http://redmine.server.ano/redmine/meetings/3/edit_doodle]
Kind regards,
Arnaud
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Vincenzo Sorrentino almost 13 years ago
Hi Arnaud,
Yes I'm sure that my current user have correct permission. The only thing that could be a problem is that I've assigned permission
to the user after I received the error.
However I send in attachment the production.log
An extract is:
Processing MeetingsController#index (for 127.0.0.1 at 2012-02-06 15:52:55) [GET] Parameters: {"project_id"=>"itd-quality", "action"=>"index", "controller"=>"meetings"} Rendering template within layouts/base Rendering meetings/index erreur.... Completed in 453ms (View: 355, DB: 66) | 200 OK [https://itd-swfactory/redmine/projects/itd-quality/meetings] Processing MeetingsController#show_doodle (for 127.0.0.1 at 2012-02-06 15:52:57) [GET] Parameters: {"project_id"=>"itd-quality", "action"=>"show_doodle", "id"=>"3", "controller"=>"meetings"} Rendering template within layouts/base Rendering meetings/show_doodle Completed in 243ms (View: 130, DB: 64) | 200 OK [https://itd-swfactory/redmine/projects/itd-quality/meetings/show_doodle?id=3] Processing MeetingsController#3 (for 127.0.0.1 at 2012-02-06 15:52:59) [GET] Parameters: {"action"=>"3", "id"=>"edit_doodle", "controller"=>"meetings"} Rendering template within layouts/base Rendering common/error (403) Filter chain halted as [:authorize] rendered_or_redirected. Completed in 194ms (View: 178, DB: 16) | 403 Forbidden [https://itd-swfactory/redmine/meetings/edit_doodle/3]
Thanks
Vincenzo
production.log (183 KB) production.log |
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Arnaud Martel almost 13 years ago
Hi Vincenzo,
I think I understood what's wrong. There is a problem with the defined routes (the default route you have was removed in redmine trunk and this default route conflicts with one used in my plugin).
I updated and committed corrections to avoid this and everything should be OK now. Could you update your installation and give me a feedback, please??
Kind regards,
Arnaud
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Vincenzo Sorrentino almost 13 years ago
Hi Arnaud,
Now works fine
Thank very much
Vincenzo
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Vincenzo Sorrentino almost 13 years ago
Hi Arnaud
I send you the italian translations of your plugins (so you can commit in git repository)
Best Regards
Vincenzo
RE: redmine_meeting plugin --> access denied on create, edit or delete doodle - Added by Arnaud Martel almost 13 years ago
Thank's, that's committed...