# Allowing moderators to administrate certain plugins?

**URL:** https://meta.discourse.org/t/allowing-moderators-to-administrate-certain-plugins/339914
**Category:** Development
**Created:** [December 2, 2024, 9:05pm UTC](https://meta.discourse.org/t/allowing-moderators-to-administrate-certain-plugins/339914 "2024-12-02T21:05:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![willups](https://avatars.discourse-cdn.com/v4/letter/w/49beb7/32.png) [@willups](https://meta.discourse.org/u/willups)
#### Post date: [December 2, 2024, 9:05pm UTC](https://meta.discourse.org/t/allowing-moderators-to-administrate-certain-plugins/339914/1 "2024-12-02T21:05:19Z")

</div>

Hey all,

Is there a way to let moderators access the admin interface of certain plugins?

I have made a plugin that is similar to the [data explorer](https://meta.discourse.org/t/32566?silent=true) which has an admin interface I would like to let moderators use.

Are there any existing plugins that do this?

Thanks 🙂

---

<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: [December 2, 2024, 9:17pm UTC](https://meta.discourse.org/t/allowing-moderators-to-administrate-certain-plugins/339914/2 "2024-12-02T21:17:49Z")

</div>

[Data explorer](https://meta.discourse.org/t/32566?silent=true) is a good example of a plugin that allows users to access it if they are in a particular group, so that would be a good one to look at!

I think

> <https://github.com/discourse/discourse-data-explorer/blob/main/config/routes.rb>

and

> <https://github.com/discourse/discourse-data-explorer/blob/bdff229ca088ead9512ba333eea4fdbbb258b250/app/controllers/discourse_data_explorer/query_controller.rb#L50-L51>

are good places to start
