Allow to propose changes to access rights through code review
Users that are able to upload changes for code review for the refs/meta/config branch can now propose changes to the project access rights through code review directly from the ProjectAccessScreen. When editing the project access rights there will be a new button 'Save for Review' which will create a new change for the access rights modifications. Project owners are automatically added as reviewer to this change. If a project owner agrees to the access rights modifications he can simply approve and submit the change. Change-Id: Ica40ce3f57726bdb897e01783cc6da10f1d392cc Signed-off-by: Edwin Kempin <edwin.kempin@sap.com> Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com> Signed-off-by: Gustaf Lundh <gustaf.lundh@sonymobile.com> Signed-off-by: Ulrik Sjölin <ulrik.sjolin@sonyericsson.com>
This commit is contained in:
@@ -207,9 +207,7 @@ public class Schema_65 extends SchemaVersion {
|
||||
batch.write(config, commit);
|
||||
|
||||
// Save the the final metadata.
|
||||
if (!batch.commitAt(config.getRevision())) {
|
||||
throw new OrmException("Cannot update " + allProjects);
|
||||
}
|
||||
batch.commitAt(config.getRevision());
|
||||
} finally {
|
||||
batch.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user