ProjectInfoScreen: Only enable 'require signed push' for project owners

Bug: Issue 7739
Change-Id: Ia907ad9657c351cc505ea8f827a7f52c5818f63b
This commit is contained in:
Paladox none 2017-11-11 13:12:03 +00:00 committed by David Pursehouse
parent 509e380a5d
commit bf577009d8
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ public class ProjectInfoScreen extends ProjectScreen {
if (enableSignedPush != null) {
enableSignedPush.setEnabled(isOwner);
}
if (requireSignedPush != null) {
requireSignedPush.setEnabled(isOwner);
}
descTxt.setEnabled(isOwner);
contributorAgreements.setEnabled(isOwner);
signedOffBy.setEnabled(isOwner);