import { extend } from 'flarum/extend';
import PermissionGrid from 'flarum/components/PermissionGrid';

export default function() {
  extend(PermissionGrid.prototype, 'moderateItems', items => {
    items.add('tag', {
      label: 'Edit tags',
      permission: 'discussion.tag'
    });
  });
}

import { extend } from 'flarum/extend';
import PermissionGrid from 'flarum/components/PermissionGrid';

export default function() {
  extend(PermissionGrid.prototype, 'moderateItems', items => {
    items.add('tag', {
      label: 'Tag discussions',
      permission: 'discussion.tag'
    });
  });
}

Use more intuitive permission description
Use more intuitive permission description
