modules/bcf/lib/open_project/bcf/bcf_xml/importer.rb
##
# Add all non members to project
Add all non members to project
Add all non members to project
def treat_non_members(options)
      clear_instance_cache
      if treat_non_members?(options)
        unless User.current.allowed_to?(:manage_members, project)
          raise StandardError.new 'For adding members to the project you need admin privileges.'
        end
        non_members.each do |user|
          add_non_member(user, options)
        end
      end
    end
def treat_non_members ( options ) clear_instance_cache if treat_non_members? ( options ) unless User . current . allowed_to? ( :manage_members , project ) raise StandardError . new 'For adding members to the project you need admin privileges.' end non_members . each do | user | add_non_member ( user , options ) end end end
Add all non members to project
Add all non members to project
options