# 付费：自定义权限级别

**URL:** <https://meta.discourse.org/t/paid-custom-permission-levels/173079>\
**Category:** Marketplace\
**Created:** [2020年十二月12日 11:36 UTC](https://meta.discourse.org/t/paid-custom-permission-levels/173079 "2020-12-12T11:36:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)\
**Post date:** [2020年十二月12日 11:36 UTC](https://meta.discourse.org/t/paid-custom-permission-levels/173079/1 "2020-12-12T11:36:22Z")

</div>

**您希望完成什么工作？**

我想为以下内容自定义权限级别：

#### 1. 所有插件的 Babble 聊天访问权限

/admin/chats

#### 2. 自定义级别，包含以下访问权限：

自定义访问权限：/admin/customize/\*  
聊天访问权限：/admin/chats  
房屋广告插件访问权限：/admin/plugins/pluginad/house\_creatives  
广告插件访问权限：/admin/site\_settings/category/ad\_plugin

关于实现方案，这里有非常宝贵的建议：

> [@How to define custom permissions for staff, admins, moderators](https://meta.discourse.org/t/how-to-define-custom-permissions-for-staff-admins-moderators/122545/18):
>
> Hi @jrgong This is not difficult to do via a plugin, as you probably know well. Basically, you could create a list of staff (by email, username, etc) as a global setting, similar to how Discourse defines developers by email address. Then, you could use that GlobalSettting in some patches to permit the two use cases are you are interested in. The first of your use cases: customize themes as staff, is relatively straight forward to core monkey patch, I think. The second use case of yours, w…

neounix 建议分叉该插件。如果存在更简单的替代方案，我宁愿不复制任何插件的代码。_否则，后续更新将变成一场噩梦，对吧？_

**您需要在何时完成？**

截止日期：2020 年 1 月 15 日

您能为此任务提供的预算是多少（美元）？

300-400 美元（不确定这是否现实）

---

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [2020年十二月18日 04:46 UTC](https://meta.discourse.org/t/paid-custom-permission-levels/173079/3 "2020-12-18T04:46:25Z")

</div>

@jrgong  
关于这件事，我发私信给你。

---

<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:** [2021年一月17日 07:47 UTC](https://meta.discourse.org/t/paid-custom-permission-levels/173079/5 "2021-01-17T07:47:37Z")

</div>

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