New option to disallow team creation: join only
This commit is contained in:
parent
5d3ef96f3f
commit
64b9e9a251
6 changed files with 53 additions and 30 deletions
|
|
@ -178,6 +178,7 @@ func main() {
|
|||
WChoiceCurCoefficient: 1,
|
||||
AllowRegistration: false,
|
||||
CanJoinTeam: false,
|
||||
DenyTeamCreation: false,
|
||||
DenyNameChange: false,
|
||||
AcceptNewIssue: true,
|
||||
EnableResolutionRoute: false,
|
||||
|
|
|
|||
|
|
@ -129,6 +129,13 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="config.denyTeamCreation" ng-disabled="!config.allowRegistration && !config.canJoinTeam">
|
||||
<span class="custom-control-label">Interdire la création de nouvelles équipes</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input class="custom-control-input" type="checkbox" ng-model="config.denyNameChange">
|
||||
|
|
|
|||
Reference in a new issue