Files
gerrit/java
Edwin Kempin b4e63f9462 Disallow reading groups from ReviewDb if noteDb.groups.read == true
With noteDb.groups.read == true groups should only be read from NoteDb.
Reading groups from ReviewDb with this setting is an error. With this
change any read access to the group tables in ReviewDb throws an
exception when reading groups from NoteDb is configured.

There are a few places where group are read from ReviewDb although
noteDb.groups.read is set to true. Fixing these is outside the scope of
this change. For now TODOs are added and the ReviewDb instance is
unwrapped where needed.

Change-Id: I219ac49f8edb9daac58e826667b0fe7ec68db0df
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-11-17 16:47:41 +01:00
..