# User Directory: Disabling "Sensitive" Columns Globally

**URL:** https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522
**Category:** Support
**Tags:** user-directory
**Created:** [June 30, 2021, 4:28pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522 "2021-06-30T16:28:27Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![deeplow](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@deeplow](https://meta.discourse.org/u/deeplow)
#### Post date: [June 30, 2021, 4:28pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/1 "2021-06-30T16:28:27Z")

</div>

Continuing the discussion from [New Leaderboard/User Directory Features 🎉](https://meta.discourse.org/t/new-leaderboard-user-directory-features/195263):

> [@New Leaderboard/User Directory Features tada](https://meta.discourse.org/t/new-leaderboard-user-directory-features/195263/1):
>
> ## Directory columns can be disabled/enabled and reordered
> 
> Click the wrench
> 
> ![image](https://global.discourse-cdn.com/meta/original/3X/c/5/c5ef97040230aff8c377afcc5cd73f82b5a53e3e.png)
> 
> And a modal will appear to enable/disable and reorder the columns

Now that we have this feature, it would be nice if there were a setting to prevent users from viewing certain columns. For example, the “Topics Viewed”, “Posts Read” and “Days Visited” are quite privacy invasive since they’re not things that are public.

---

<div class="post-metadata">

### Author: ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)
#### Post date: [June 30, 2021, 4:29pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/2 "2021-06-30T16:29:20Z")

</div>

That’s exactly what the feature allows. You can disable those columns, and they won’t show up in the table.

---

<div class="post-metadata">

### Author: ![deeplow](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@deeplow](https://meta.discourse.org/u/deeplow)
#### Post date: [June 30, 2021, 4:30pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/3 "2021-06-30T16:30:58Z")

</div>

Ah! I thought this was something each user could configure. Thanks. Will test it now.

---

<div class="post-metadata">

### Author: ![deeplow](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@deeplow](https://meta.discourse.org/u/deeplow)
#### Post date: [June 30, 2021, 4:34pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/4 "2021-06-30T16:34:54Z")

</div>

Epic! This is exactly what I needed. Maybe the description could be changed to explain this is not a user configuration, but rather a global setting.

Thanks a lot for implementing this @markvanlan!

(p.s. moved it to support)

---

<div class="post-metadata">

### Author: ![deeplow](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@deeplow](https://meta.discourse.org/u/deeplow)
#### Post date: [June 30, 2021, 4:39pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/5 "2021-06-30T16:39:27Z")

</div>

Now the only thing missing is to also be able to remove these sensitive fields from the user’s public profile. Will look into this.

---

<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: [July 1, 2021, 10:05am UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/6 "2021-07-01T10:05:41Z")

</div>

You can easily hide them from the profile, but the data will be available for someone who knows how to look. Removing it from the serializer would require a plugin.

---

<div class="post-metadata">

### Author: ![deeplow](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@deeplow](https://meta.discourse.org/u/deeplow)
#### Post date: [July 1, 2021, 2:36pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/7 "2021-07-01T14:36:37Z")

</div>

I guess that makes sense. Thanks for the insight.

---

<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: [November 21, 2022, 9:43pm UTC](https://meta.discourse.org/t/user-directory-disabling-sensitive-columns-globally/195522/8 "2022-11-21T21:43:02Z")

</div>

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