private JTextField emailAddressField;\r
\r
private JCheckBox canAdminCheckbox;\r
+ \r
+ private JCheckBox canForkCheckbox;\r
\r
private JCheckBox notFederatedCheckbox;\r
\r
displayNameField = new JTextField(anUser.displayName == null ? "" : anUser.displayName, 25);\r
emailAddressField = new JTextField(anUser.emailAddress == null ? "" : anUser.emailAddress, 25);\r
canAdminCheckbox = new JCheckBox(Translation.get("gb.canAdminDescription"), anUser.canAdmin); \r
+ canForkCheckbox = new JCheckBox(Translation.get("gb.canForkDescription"), anUser.canFork); \r
notFederatedCheckbox = new JCheckBox(\r
Translation.get("gb.excludeFromFederationDescription"),\r
anUser.excludeFromFederation);\r
fieldsPanel.add(newFieldPanel(Translation.get("gb.displayName"), displayNameField));\r
fieldsPanel.add(newFieldPanel(Translation.get("gb.emailAddress"), emailAddressField));\r
fieldsPanel.add(newFieldPanel(Translation.get("gb.canAdmin"), canAdminCheckbox));\r
+ fieldsPanel.add(newFieldPanel(Translation.get("gb.canFork"), canForkCheckbox));\r
fieldsPanel.add(newFieldPanel(Translation.get("gb.excludeFromFederation"),\r
notFederatedCheckbox));\r
\r
user.emailAddress = emailAddressField.getText().trim();\r
\r
user.canAdmin = canAdminCheckbox.isSelected();\r
+ user.canFork = canForkCheckbox.isSelected();\r
user.excludeFromFederation = notFederatedCheckbox.isSelected();\r
\r
user.repositories.clear();\r