# Discourse Authorship Plugin

**URL:** https://meta.discourse.org/t/discourse-authorship-plugin/215171
**Category:** Plugin
**Tags:** broken
**Created:** [January 18, 2022, 3:14am UTC](https://meta.discourse.org/t/discourse-authorship-plugin/215171 "2022-01-18T03:14:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [January 18, 2022, 3:14am UTC](https://meta.discourse.org/t/discourse-authorship-plugin/215171/1 "2022-01-18T03:14:57Z")

</div>

**Summary** : This plugin lets a selected user impersonate any other user when creating posts and likes.

> ⚠ Giving someone the ability to impersonate any user when posting or liking is extremely powerful, so use this with care. Giving this power to a non admin user is possible, but not recommended.

🔗 **GitHub** : [GitHub - angusmcleod/discourse-authorship: Manage authorship of posts and likes · GitHub](https://github.com/angusmcleod/discourse-authorship)  
➡ **Install** : Follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157).

### Context

This is work done for a client some time ago that can now be open sourced. This is not an official Pavilion plugin and won’t be extended unless there is significant interest in it. It is being open sourced now due to a number of enquiries about the reference here:

> [@Liking own posts — a specific use case of discourse](https://meta.discourse.org/t/liking-own-posts-a-specific-use-case-of-discourse/143931/32):
>
> You know what is cool though…liking posts as other people slight_smile

### Features

- Select an admin user who has authorship powers
- The user with authorship powers can select other users to author content with
- The user can create posts and like posts as other users

### Configuration

- Set the user with authorship powers using the `author selection username` site setting
- User with authorship powers can select the users they can create content with in their “user interface” settings
- User with authorship powers can select from list of users when creating posts or toggling likes

### Notes

- This plugin is designed to be compatible with the presence plugin.

### Screenshots

Select a user to like with

 ![like](https://global.discourse-cdn.com/meta/original/3X/2/2/222e2978807cc1c4ac2e6cb8d931685a9c3a1fd9.gif)

Select a user to post with

 ![Screen Shot 2022-01-18 at 11.00.30 AM](https://global.discourse-cdn.com/meta/original/3X/4/2/42c7aa7a12a8fffeab6df52d8e572595ec3e2c56.png)

---

<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 4, 2023, 7:38pm UTC](https://meta.discourse.org/t/discourse-authorship-plugin/215171/2 "2023-07-04T19:38:25Z")

</div>

Looks like this got broken here:

> <https://github.com/angusmcleod/discourse-authorship/blob/main/plugin.rb#L45>

I think as of:

[https://github.com/discourse/discourse/commit/fbcc35b417341f04c5d7311b053b857fb461152d](https://github.com/discourse/discourse/commit/fbcc35b417341f04c5d7311b053b857fb461152d)

I submitted a PR here: [remove test for is\_bookmark? by pfaffman · Pull Request #2 · angusmcleod/discourse-authorship · GitHub](https://github.com/angusmcleod/discourse-authorship/pull/2)

---

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [April 10, 2024, 3:35am UTC](https://meta.discourse.org/t/discourse-authorship-plugin/215171/3 "2024-04-10T03:35:47Z")

</div>

I cannot get this plugin to work - is it broken?

---

<div class="post-metadata">

### Author: ![Olle11](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@Olle11](https://meta.discourse.org/u/Olle11)
#### Post date: [April 1, 2025, 9:58pm UTC](https://meta.discourse.org/t/discourse-authorship-plugin/215171/4 "2025-04-01T21:58:12Z")

</div>

Should this one be marked as #broken ?

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [April 1, 2025, 11:18pm UTC](https://meta.discourse.org/t/discourse-authorship-plugin/215171/5 "2025-04-01T23:18:44Z")

</div>

I gave it a test; indeed, it’s partially broken, and there are deprecations as well.

I will add the #broken tag and see if I can modernize it when I will have some time.
