# Categories: public vs. logged in only vs. restricted

**URL:** https://meta.discourse.org/t/categories-public-vs-logged-in-only-vs-restricted/156308
**Category:** UX
**Created:** [30 ביוני,‏ 2020,‏ 2:24am UTC](https://meta.discourse.org/t/categories-public-vs-logged-in-only-vs-restricted/156308 "2020-06-30T02:24:03Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![tomtjes](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomtjes/32/131271_2.png) [@tomtjes](https://meta.discourse.org/u/tomtjes)
#### Post date: [29 בדצמבר,‏ 2021,‏ 4:02pm UTC](https://meta.discourse.org/t/categories-public-vs-logged-in-only-vs-restricted/156308/10 "2021-12-29T16:02:34Z")

</div>

Yup, that’s what I use. In the `svg-icons` field, enter `users, user-friends` and whatever symbol you want to use for public access (for the globe, I’m using an icon by [Freepik](https://www.flaticon.com/search?author_id=1&type=standard&word=globe), which I’ve added to my Discourse via [a sprite uploaded to a theme component](https://meta.discourse.org/t/replace-discourses-default-svg-icons-with-custom-icons-in-a-theme/115736))

I hide the lock icon with this CSS added to a theme component:

```css
// no lock icon for private categories
.category .badge-category.clear-badge.restricted .d-icon-lock, 
.badge-category.clear-badge.restricted .d-icon-lock,
.category-list .category-text-title .d-icon-lock,
.category-box-heading .d-icon-lock {
    display:none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/categories-public-vs-logged-in-only-vs-restricted/156308)._
