feat: force ‘require approval’ membership requirement
For new and existing communities, force the `require approval` membership requirement in the create/edit community popup. ### NOTE This will not affect the membership requirement value already-created communities.
This commit is contained in:
parent
24d8e429b8
commit
03addd4ea9
|
@ -348,6 +348,9 @@ ModalPopup {
|
||||||
|
|
||||||
StatusSettingsLineButton {
|
StatusSettingsLineButton {
|
||||||
id: membershipRequirementSetting
|
id: membershipRequirementSetting
|
||||||
|
// TODO: remove 'isEnabled: false' when we no longer need to force
|
||||||
|
// "request access" membership
|
||||||
|
isEnabled: false
|
||||||
anchors.top: separator1.bottom
|
anchors.top: separator1.bottom
|
||||||
anchors.topMargin: Style.current.halfPadding
|
anchors.topMargin: Style.current.halfPadding
|
||||||
text: qsTr("Membership requirement")
|
text: qsTr("Membership requirement")
|
||||||
|
@ -420,6 +423,9 @@ ModalPopup {
|
||||||
|
|
||||||
MembershipRequirementPopup {
|
MembershipRequirementPopup {
|
||||||
id: membershipRequirementSettingPopup
|
id: membershipRequirementSettingPopup
|
||||||
|
// TODO: remove the 'checkedMemership' setting when we no longer need
|
||||||
|
// to force "require approval" membership
|
||||||
|
checkedMembership: Constants.communityChatOnRequestAccess
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue