Project

General

Profile

Change default value of "inherit members" when new (sub)project made

Added by Olson Burry about 10 years ago

I would like to know if it's possible to change the value of the check box for Inherit Members to be checked by default.

I have looked around the code, and sort of dabbled with the schema as after grepping the code it was one place that seemed to at least contain a default for it.

It appears doing a g rake db:migrate RAILS_ENV=production sets the values back anyway, so perhaps this is not the method! I looked too in redmine/db/migrate and fiddled (i'm doing this locally not on our "production" machine.

I'm not clear on the ruby language in general, I'm afraid. Neither about how "rake" is actually working with the database, but I'm learning slowly.

Many thanks for any pointers.

Environment:
Redmine version 2.3.2.stable
Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
add_item 0.2
redmine_dmsf 1.4.6 stable

Linux mint 15, Server version: Apache/2.2.22

(I wrote the add_item plugin.. it just adds a link to the top panel where home / my page / projects is)


Replies (3)

RE: Change default value of "inherit members" when new (sub)project made - Added by Viktor Berke about 10 years ago

I just want to say that I'd also like to see such a feature in a future version. Most project managers don't realize they need this.

RE: Change default value of "inherit members" when new (sub)project made - Added by Anonymous over 9 years ago

Olson Burry wrote:

I would like to know if it's possible to change the value of the check box for Inherit Members to be checked by default.

I've also thought this should be a configurable option in Redmine itself, but unfortunately that's not the case here. A little while back I found a plugin that offers this option though: Redmine Project Form Extended. The readme says it was developed and tested on 2.3.3, but I don't see any reason why it wouldn't work on 2.3.2 as well.

    (1-3/3)