# 作为版主无法点击用户通知栏中的“所有通知”

**URL:** https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519
**Category:** UX
**Created:** [2019 年4 月 20 日 04:02 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519 "2019-04-20T04:02:53Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### 作者： ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### 发布日期： [2019 年4 月 20 日 04:02 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/1 "2019-04-20T04:02:53Z")

</div>

Repro steps:

1. You have to be a **moderator** , not an **admin**
2. Go to someone’s user profile other than **yours.**
3. Go to notifications
4. Try to click **all notifications**
5. It should be blocked.

[https://gph.is/g/a95mxBa](https://gph.is/g/a95mxBa)

---

<div class="post-metadata">

### 作者： ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### 发布日期： [2019 年4 月 20 日 07:31 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/2 "2019-04-20T07:31:42Z")

</div>

Hi @Chaboi_3000 local repro confirmed. Thanks will 👀

---

<div class="post-metadata">

### 作者： ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### 发布日期： [2019 年4 月 20 日 07:37 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/4 "2019-04-20T07:37:39Z")

</div>

Seems like this is expected behaviour per:

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/user-notifications.js.es6#L20](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/user-notifications.js.es6#L20)

Only admins can see all notifications from a specific user, and if we don’t have a model we redirect to responses [https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/user-notifications-index.js.es6#L8](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/user-notifications-index.js.es6#L8)

---

<div class="post-metadata">

### 作者： ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### 发布日期： [2019 年4 月 20 日 09:18 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/5 "2019-04-20T09:18:17Z")

</div>

@j.jaffeux, I think this “redirect” is quite confusing. I think it’s better off just removing the “all notifications” for a moderator.(Except for their own notifications of course)

---

<div class="post-metadata">

### 作者： ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### 发布日期： [2019 年4 月 20 日 09:20 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/6 "2019-04-20T09:20:11Z")

</div>

Yes I don’t have strong feelings on this, just wanted to say it’s not a « bug ». I do think it’s fine as it is.

Want to hear from @codinghorror on this.

---

<div class="post-metadata">

### 作者： ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### 发布日期： [2019 年4 月 20 日 21:06 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/7 "2019-04-20T21:06:25Z")

</div>

It is very minor so I don’t think we need to worry about it.

---

<div class="post-metadata">

### 作者： ![Cozdabuch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cozdabuch/32/139120_2.png) [@Cozdabuch](https://meta.discourse.org/u/Cozdabuch)
#### 发布日期： [2019 年4 月 20 日 22:18 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/8 "2019-04-20T22:18:47Z")

</div>

the activity tab be hidden with css, except for admin users.

Not “secure” but functional. It’s bondo in a dent. But works

---

<div class="post-metadata">

### 作者： ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### 发布日期： [2019 年4 月 23 日 15:06 UTC](https://meta.discourse.org/t/cant-click-all-notifications-in-the-notifications-bar-of-a-user-as-a-moderator/115519/9 "2019-04-23T15:06:56Z")

</div>


