# Issue with category permissions only for moderators

**URL:** https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572
**Category:** Bug
**Created:** [April 21, 2019, 5:02am UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572 "2019-04-21T05:02:07Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![sat](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sat](https://meta.discourse.org/u/sat)
#### Post date: [April 21, 2019, 5:02am UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/1 "2019-04-21T05:02:07Z")

</div>

I dont know if this issue is for other type of users…but here are steps to reproduce for moderators.

1. Install new forum and add few moderators at setup.
2. Create a category and give permission to post only for moderators.
3. Login as a moderator and try to post. New Topic option is disabled for moderators even though permission are available for them.
4. Now login as a admin and revoke moderator permission and give him back again(instantly).
5. Login as a moderator, now you will see New Topic option.

It is not a blocking issue but please look into this. thanks!

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [April 21, 2019, 5:11am UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/2 "2019-04-21T05:11:23Z")

</div>

Which version are you running?

---

<div class="post-metadata">

### Author: ![sat](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sat](https://meta.discourse.org/u/sat)
#### Post date: [April 21, 2019, 5:16am UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/3 "2019-04-21T05:16:48Z")

</div>

I’m using latest v2.3.0.beta8

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [April 25, 2019, 5:07pm UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/4 "2019-04-25T17:07:28Z")

</div>

@sat, I’m not able to reproduce this. I attempted the following:

1. Navigated to [try.discourse.org](http://try.discourse.org) and logged in as admin.
2. Opened the create category modal.
3. Gave the category a name
4. Switched to the security tab
  1. Clicked Edit Permissions
  2. Removed the everyone permissions
  3. Added `moderators` `Create / Reply / See`
  4. Clicked “New Category”

5. In a different browser, logged into try as a moderator.
6. Navigated to the new “Mods Only” category.
7. Successfully clicked on the “New Topic” button.

Besides not installing Discourse from scratch, do my steps differ from what you did in any way?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [April 25, 2019, 5:39pm UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/5 "2019-04-25T17:39:59Z")

</div>

He added moderators via the wizard?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [April 25, 2019, 5:50pm UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/6 "2019-04-25T17:50:09Z")

</div>

Thanks Stephen, missed that.

Yeah, something is definitely off here. I re-ran the wizard on try and invited a moderator. Then I created a new category with the same steps as above. I then accepted the moderator invite, and I can’t even see the category in `/categories`. I’m definately a mod, though, as I can access the admin dashboard, admin user list, etc.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 25, 2019, 10:33pm UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/8 "2019-04-25T22:33:39Z")

</div>

So the workaround (for now) would be to un-mod the person and re-mod them? Does that work?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 26, 2019, 12:35am UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/9 "2019-04-26T00:35:17Z")

</div>

@nbianca can you investigate this.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [May 10, 2019, 7:40pm UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/11 "2019-05-10T19:40:34Z")

</div>

Users are not in moderators / staff groups when invited from the wizard.

I submitted this PR to fix this:

[https://github.com/discourse/discourse/pull/7530](https://github.com/discourse/discourse/pull/7530)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 10, 2019, 9:43pm UTC](https://meta.discourse.org/t/issue-with-category-permissions-only-for-moderators/115572/12 "2019-05-10T21:43:56Z")

</div>


