# Limiting visibility and access to forums by profile

**URL:** https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810
**Category:** Support
**Created:** [April 8, 2019, 10:23pm UTC](https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810 "2019-04-08T22:23:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bkerensa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bkerensa/32/47483_2.png) [@bkerensa](https://meta.discourse.org/u/bkerensa)
#### Post date: [April 8, 2019, 10:23pm UTC](https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810/1 "2019-04-08T22:23:21Z")

</div>

Is there anyway to limit visibility and access to post to a category or forum using profile fields? Like say you wanted to have a forum exclusive to women how would this be accomplished currently?

---

<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: [April 8, 2019, 11:21pm UTC](https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810/2 "2019-04-08T23:21:53Z")

</div>

If you really mean with profile fields and not with [groups](https://meta.discourse.org/t/how-to-use-category-security-settings-to-control-access-to-content/87678), you’d need to create a plugin that assigned people to a group according to the profile field.

---

<div class="post-metadata">

### Author: ![bkerensa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bkerensa/32/47483_2.png) [@bkerensa](https://meta.discourse.org/u/bkerensa)
#### Post date: [April 9, 2019, 5:19am UTC](https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810/3 "2019-04-09T05:19:00Z")

</div>

I see I figured there might be some way to make groups condition based on a profile field already.

---

<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 9, 2019, 6:18am UTC](https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810/4 "2019-04-09T06:18:02Z")

</div>

For conditions like gender to really matter you need to embark on a level of validation which is more suited to IdM than platforms such as discourse.

If you’re using another platform which already has this data consider implementing SSO and having the payload include group membership.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 25, 2022, 7:24pm UTC](https://meta.discourse.org/t/limiting-visibility-and-access-to-forums-by-profile/113810/6 "2022-06-25T19:24:33Z")

</div>


