# Preventing few users from a Category

**URL:** https://meta.discourse.org/t/preventing-few-users-from-a-category/133288
**Category:** Support
**Created:** [13 בנובמבר,‏ 2019,‏ 11:17am UTC](https://meta.discourse.org/t/preventing-few-users-from-a-category/133288 "2019-11-13T11:17:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bgmahesh](https://avatars.discourse-cdn.com/v4/letter/b/d6d6ee/32.png) [@bgmahesh](https://meta.discourse.org/u/bgmahesh)
#### Post date: [13 בנובמבר,‏ 2019,‏ 11:17am UTC](https://meta.discourse.org/t/preventing-few-users-from-a-category/133288/1 "2019-11-13T11:17:20Z")

</div>

hi,

I have created the following categories in our installation of Discourse,

1. Category1: Restricted access to user1, user2, user3
2. Category2: Open to ALL registrants of discourse (user1, user2, user3, user4, user5)

We had to give access to future employees (user6, user7). Due to a particular use case I had to create Category3 which is accessible to user1 - user7.

But I want Category 2 to be open to user1-user5 only (rather I want to block user6, user7 from accessing Category2). How do I do that?

regards,

mahesh

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [13 בנובמבר,‏ 2019,‏ 11:32am UTC](https://meta.discourse.org/t/preventing-few-users-from-a-category/133288/2 "2019-11-13T11:32:14Z")

</div>

There is no way to block users, only to allow them. For category 2 create a group including those who would have access to it and set the category permissions so that only that group has access.

---

<div class="post-metadata">

### Author: ![bgmahesh](https://avatars.discourse-cdn.com/v4/letter/b/d6d6ee/32.png) [@bgmahesh](https://meta.discourse.org/u/bgmahesh)
#### Post date: [13 בנובמבר,‏ 2019,‏ 11:53am UTC](https://meta.discourse.org/t/preventing-few-users-from-a-category/133288/3 "2019-11-13T11:53:00Z")

</div>

Thanks for the quick response.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [6 באוגוסט,‏ 2023,‏ 7:11pm UTC](https://meta.discourse.org/t/preventing-few-users-from-a-category/133288/4 "2023-08-06T19:11:37Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [5 בספטמבר,‏ 2023,‏ 7:12pm UTC](https://meta.discourse.org/t/preventing-few-users-from-a-category/133288/5 "2023-09-05T19:12:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
