When reading the description of this module it should be possible to prevent editing of specific terms by role by using a lock.
When I lock a term another role can't drag the term anymore but it can still edit the term and change the term name. when a term is locked I would assume that you can't edit the term anymore.

Comments

fuse’s picture

Solved it myself.

There was a bug in the term_lock_taxonomy_form_term_validate() function.
$tid was not set.

On line 379 change:

function term_lock_taxonomy_form_term_validate($form, &$form_state) {
  global $user;

  $tid = $form_state['tid'];
  $vid = $form_state['vid'];

to:

function term_lock_taxonomy_form_term_validate($form, &$form_state) {
  global $user;

  $tid = $form_state['values']['tid'];
  $vid = $form_state['values']['vid'];
pounard’s picture

I'll check this, thanks for reporting.

pounard’s picture

Status: Active » Closed (won't fix)

Abandonned project.