Hi, i think the users who are allowed to administer the Trackbacks should not be automatically able to change the trackback settings. Therefore I suggest to change the access arguments in the menu hook. Also the permission 'change node trackback setting' doesn't make sense if you don't check it for the settings form, because IMHO you have the possibility to change permissions for content types (and so also for nodes) ... thats why I tagged this as bug report instead of feature request.

At the moment I use this until there is a fix.

  $items['admin/content/trackback/settings'] = array(
    'title' => 'Settings',
    'page arguments' => array('trackback_configure'),
    'access arguments' => array('administer trackbacks', 'change node trackback setting'),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK
  );

Comments

osopolar’s picture

Sorry may fault, use only permissions 'change node trackback setting' (or if needed new permission 'administer trackback setting'):

  $items['admin/content/trackback/settings'] = array(
    'title' => 'Settings',
    'page arguments' => array('trackback_configure'),
    'access arguments' => array('change node trackback setting'),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK
  );
MentalFS’s picture

I made that change, but it didn't have any effect, strangely. Edit: Okay, rebuilding the permissions did the trick.

It should be possible, like in comments, to have trackback "moderators" that can publish, unpublish and delete trackbacks and manage the moderation queue. If I understand it right, this is what should happen with this patch. Edit: As I see now, it is exactly what I meant.

Maybe the names of the permissions should change though.