Skip to content

[Tags] Add setting to allow discussion authors to edit tags #330

@tobyzerner

Description

@tobyzerner

From @tobscure on August 27, 2015 13:49

In the same way that the admin CP permissions page has a setting to let users rename their discussions "indefinitely", "for 10 minutes", or "until the next reply" – there should be a setting to let users edit their discussion's tags.

What needs to be done:

  • In the tags admin JS extension, extend the PermissionsGrid startItems method and add a ConfigDropdown, using core's "allowRenaming" item as an example.
  • Listen to the ModelAllow event and give the "tag" permission to users based on the setting, using the event listener defined in core's DiscussionsServiceProvider as an example.

Copied from original issue: flarum/tags#12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions