# Add "approve new topics unless trust level" setting

**URL:** <https://meta.discourse.org/t/add-approve-new-topics-unless-trust-level-setting/50253>\
**Category:** Feature\
**Created:** [16.Сентябрь.2016 18:58:54 UTC](https://meta.discourse.org/t/add-approve-new-topics-unless-trust-level-setting/50253 "2016-09-16T18:58:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [18.Сентябрь.2016 03:10:45 UTC](https://meta.discourse.org/t/add-approve-new-topics-unless-trust-level-setting/50253/4 "2016-09-18T03:10:45Z")

</div>

(Apologies for monopolizing this topic…)

I made some progress on this today. I added a second setting called “approve new topics unless trust level” to the Posting screen:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/c/4c7dca488e4b93795b61c02f3c0717694fa38a87.png) 

and then in `/lib/new_post_manager.b` I added the following check to `self.user_needs_approval?` :  
`(manager.args[:title].present? && user.trust_level < SiteSetting.approve_new_topics_unless_trust_level.to_i) ||`

It seems to work well on my initial tests. And I think that having this as an independent setting makes sense; sites can even combine both settings (approval queue for all posts for TL0 users and approval queue of new topics for TL1 users, for example).

If this fits within the team’s plans, I would be honoured to submit a PR.

---

_[View the full topic](https://meta.discourse.org/t/add-approve-new-topics-unless-trust-level-setting/50253)._
