FEATURE: Add new group visibility option for "logged on users" (#7814)

Groups can now be marked as visible to "logged on users". All automatic groups (except `everyone`) are now visible to "logged on users", previously they were marked as public but suppressed in the group page for non-staff.
This commit is contained in:
Penar Musaraj
2019-07-08 15:09:50 -04:00
committed by GitHub
parent befcf67c90
commit b690fc3d98
11 changed files with 147 additions and 18 deletions

View File

@@ -13,19 +13,25 @@ export default Ember.Component.extend({
},
{
name: I18n.t(
"admin.groups.manage.interaction.visibility_levels.members"
"admin.groups.manage.interaction.visibility_levels.logged_on_users"
),
value: 1
},
{
name: I18n.t("admin.groups.manage.interaction.visibility_levels.staff"),
name: I18n.t(
"admin.groups.manage.interaction.visibility_levels.members"
),
value: 2
},
{
name: I18n.t("admin.groups.manage.interaction.visibility_levels.staff"),
value: 3
},
{
name: I18n.t(
"admin.groups.manage.interaction.visibility_levels.owners"
),
value: 3
value: 4
}
];

View File

@@ -9,6 +9,10 @@
content=visibilityLevelOptions
castInteger=true
class="groups-form-visibility-level"}}
<div class="control-instructions">
{{i18n 'admin.groups.manage.interaction.visibility_levels.description'}}
</div>
</div>
{{/if}}