-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Check out the README.rdoc(displayed on repo root) for doco and information!
- There seems to be some problems currently (0.0.2) with the permissions. I’m getting
403
-errors for the views as being logged-in as an administrator with manager-role on specific project. I further tested this nice plugin by undoing the controller from thebefore_filter :authorize
. This works but it is just an unwanted workaround.
p<. Since there are some comments about this already in the source, and the plugin is pretty young too, I guess it’s a work-in-progress but wanted to share the experience with the further-more imho nice plugin…
In response to the above error:
- There is one thing I needed to change in the redmine source to get the ‘My todos’ page to work.
Around line 230 of app/models/user.rb there is a method declaration like so:
def allowed_to?(action, project, options)
For reasons of which i am unsure, the version of redmine we are running (1month old) never actually passes in the ‘options’ variable to this call. As a temporary hack i changed the method declaration to:
def allowed_to?(action, project, options={:global => true})
Which just adds as default an option to check for security for so-called global(non-project based) menu items.
This is obviously not a great fix to the problem, but I havn’t had a chance to properly delve into the Redmine source to work out how I should be handling security for a global(non-project) plugin page. If anyone has any ideas on this to share please! :)
- Also, dont forget after installing the plugin you have to set up the Role permissions for it in “Roles and permissions” in Redmine admin. Using the permissions report is probably the easiest. The plugin is listed under ‘Task Lists’, which was an early name for the project and will change eventually.