Batch update project.config on group renames
When a group is renamed through the web UI, each project.config (and corresponding groups file) is updated with the new name if there is a permission rule referencing the group. This ensures authorship of the relevant modification is charged back to the user that modified the group name. Change-Id: Ic44c46553b34548e792269e6ce835ecffea42db7 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -20,6 +20,7 @@ import com.google.gerrit.server.config.FactoryModule;
|
||||
public class GitModule extends FactoryModule {
|
||||
@Override
|
||||
protected void configure() {
|
||||
factory(RenameGroupOp.Factory.class);
|
||||
factory(MetaDataUpdate.InternalFactory.class);
|
||||
bind(MetaDataUpdate.Server.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user