I added a hook_perm to allow users to use Edit Term without having to give away Administer Taxonomy - I'm using Taxonomy Delegate module and Edit Term compliments this nicely.

Any probs you might see with this, seems kosha from my end.

/**
 * Implementation of hook_perm().
 */
function edit_term_perm() {
  return array('edit terms');
}

Then replaced "administer taxonomy" with "edit term" where requried.

Does create an additional step in setting up the module but does allow to dovetail nicely with Taxonomy Delegate.

Comments

jvieille’s picture

This does not work.

I put the hook_perm function in the module, and I get the permission appearing in the permission page.
However, when I grant this permission to a role, it does not do anything: the edit tab does not appear and the taxonomy/term/xxx/edit-term url is denied.
Is there something else to do for this to work?

Thanks for help

Jeff Burnz’s picture

Status: Active » Closed (fixed)

Read more carefully...

Then replaced "administer taxonomy" with "edit term" where required.

Jeff Burnz’s picture

Then replaced "administer taxonomy" with "edit term" where required.

jvieille’s picture

Category: support » feature
Status: Closed (fixed) » Reviewed & tested by the community

Thanks...

Can this be ported to this module?