# Trying to save a group gives "Alias level is not included in the list" error

**URL:** https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536
**Category:** Bug
**Created:** [2016年十二月20日 07:29 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536 "2016-12-20T07:29:22Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [2016年十二月20日 07:29 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/1 "2016-12-20T07:29:22Z")

</div>

I’m trying to unset the “group is public” option, when saving I get a dialog saying:

Alias level is not included in the list

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2016年十二月20日 07:38 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/2 "2016-12-20T07:38:04Z")

</div>

That comes from the app\models\group.rb

```plaintext
  ALIAS_LEVELS = {
    :nobody => 0,
    :only_admins => 1,
    :mods_and_admins => 2,
    :members_mods_and_admins => 3,
    :everyone => 99
  }

  validates :alias_level, inclusion: { in: ALIAS_LEVELS.values}

```

Is the alias level in that list?

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [2016年十二月20日 07:40 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/3 "2016-12-20T07:40:09Z")

</div>

Nope. Unfortunately, while it kept showing that earlier, retrying it now and it works fine.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2016年十二月20日 07:52 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/4 "2016-12-20T07:52:19Z")

</div>

Were you trying to edit the group through the admin panel or the new group pages?

---

<div class="post-metadata">

### Author: ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)
#### Post date: [2016年十二月20日 07:53 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/5 "2016-12-20T07:53:02Z")

</div>

I was trying to edit it though the Admin panel.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年一月5日 23:50 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/6 "2017-01-05T23:50:28Z")

</div>

I’m closing this first unless we can get a consistent repro. Feel free to flag this if this happens again. Thanks!

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年一月5日 23:50 UTC](https://meta.discourse.org/t/trying-to-save-a-group-gives-alias-level-is-not-included-in-the-list-error/54536/7 "2017-01-05T23:50:31Z")

</div>


