 Help - Plugin for joining projects
Help - Plugin for joining projects
Added by hamid Pourvatan over 14 years ago
Hey,
I've been looking around for a plugin that allow non-members to send a request to join a project just by clicking join or something and then manager can accept or decline that request.
I found this plugin over internet:
https://github.com/edavis10/redmine_join_project
but it doesn't seem to work properly on redmine v-1.2 altho it seems works fine on v-0.9 but I'm using redmine v-1.2.
Any suggestions or other plugins?
Replies (1)
     RE: Help - Plugin for joining projects
    -
    Added by Eric Seigne almost 14 years ago
    RE: Help - Plugin for joining projects
    -
    Added by Eric Seigne almost 14 years ago
  
  Here is the solution https://github.com/edavis10/redmine_join_project/pull/4
- lib/join_project/patches/project_patch.rb
     module ProjectPatch
       def self.included(base)
         base.send(:include, InstanceMethods)
+        base.class_eval do
+          safe_attributes 'project_subscription'
+        end
         base.extend(ClassMethods)
         base.class_eval do
           validates_inclusion_of :project_subscription, :in => join_options, :allow_nil => true, :allow_blank => 'true'
         end
       end