ProjectInfoScreen: Only enable 'require signed push' for project owners
Bug: Issue 7739 Change-Id: Ia907ad9657c351cc505ea8f827a7f52c5818f63b
This commit is contained in:
committed by
David Pursehouse
parent
509e380a5d
commit
bf577009d8
@@ -185,6 +185,9 @@ public class ProjectInfoScreen extends ProjectScreen {
|
|||||||
if (enableSignedPush != null) {
|
if (enableSignedPush != null) {
|
||||||
enableSignedPush.setEnabled(isOwner);
|
enableSignedPush.setEnabled(isOwner);
|
||||||
}
|
}
|
||||||
|
if (requireSignedPush != null) {
|
||||||
|
requireSignedPush.setEnabled(isOwner);
|
||||||
|
}
|
||||||
descTxt.setEnabled(isOwner);
|
descTxt.setEnabled(isOwner);
|
||||||
contributorAgreements.setEnabled(isOwner);
|
contributorAgreements.setEnabled(isOwner);
|
||||||
signedOffBy.setEnabled(isOwner);
|
signedOffBy.setEnabled(isOwner);
|
||||||
|
|||||||
Reference in New Issue
Block a user