We need to hide the machine name field form editors. Right now the machine name field is visible and editable for everyone who has permissions to edit the node.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review

How's about this? It adds the 'edit node machine name' permission and only shows the form field if you have that permission.

DamienMcKenna’s picture

FileSize
959 bytes

Oh wait, the patch itself would be useful =)

smk-ka’s picture

Status: Needs review » Reviewed & tested by the community

Looks good!

jamsilver’s picture

Just for my own drush make purposes more than anything - here is the same again without the prefix. Patch looks good!

mrfelton’s picture

Looks good, works for me. Thanks.

Mike Dodd’s picture

Works good for me, thanks

czigor’s picture

Works for me too.

Anonymous’s picture

Patched my defaultcontent.module and tested it. The patch works for me and should be committed.

goron’s picture

I'm using this patch now. Works well.

pcho’s picture

Assigned: Unassigned » pcho
Status: Reviewed & tested by the community » Fixed

Applied DamienMckenna's patch after further review.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.