# 无法在父类别/子类别上设置权限

**URL:** <https://meta.discourse.org/t/unable-to-set-up-permissions-on-parent-subcategory/112562>\
**Category:** Bug\
**Created:** [2019年三月26日 02:12 UTC](https://meta.discourse.org/t/unable-to-set-up-permissions-on-parent-subcategory/112562 "2019-03-26T02:12:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)\
**Post date:** [2019年四月1日 10:29 UTC](https://meta.discourse.org/t/unable-to-set-up-permissions-on-parent-subcategory/112562/3 "2019-04-01T10:29:34Z")

</div>

Bug where you couldn’t add permissions to sub-category even though parent category is accessible by everyone was fixed few weeks ago ([FIX: any subcategory permissions are valid if everyone has access to … · discourse/discourse@fea5d4f · GitHub](https://github.com/discourse/discourse/commit/fea5d4f3eceba37c43559a7c61a962de7d41d3b3))

> [@AstonJ](#):
>
> - Parent Category (can be seen by various groups, usually all those who can access the below, but can not be posted in)
> - 
> - Sub-cat 1 - user group 1 can create/see/reply
> 
> - 
> - Sub-cat 2 - user group 2 can create/see/reply

You have to make sure group 1, group 2 etc. have permissions to see parent category before adding them to sub-categories.

I improved error message so it’s clearer now which groups only have access to sub-category and should be added to parent category:

[https://github.com/discourse/discourse/commit/88128f1cedd069cbdf751bdee7fc8727355b06fb](https://github.com/discourse/discourse/commit/88128f1cedd069cbdf751bdee7fc8727355b06fb)

---

_[View the full topic](https://meta.discourse.org/t/unable-to-set-up-permissions-on-parent-subcategory/112562)._
