The current check for user_access("create $add_type content") should be supplemented with a check for administer nodes, since that perm will allow a user to create a node of any content type.

CommentFileSizeAuthor
admin_nodes_perm.patch945 bytescyu

Comments

starbow’s picture

That seems reasonable.

starbow’s picture

Status: Active » Needs review

That seems reasonable.

starbow’s picture

Status: Needs review » Fixed

This has been checked into dev.

Status: Fixed » Closed (fixed)

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