administer nodes permission should allow adding references

cYu - March 3, 2009 - 20:59
Project:Popups: Add and Reference
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

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.

AttachmentSize
admin_nodes_perm.patch945 bytes

#1

starbow - March 4, 2009 - 05:35

That seems reasonable.

#2

starbow - March 4, 2009 - 06:21
Status:active» needs review

That seems reasonable.

#3

starbow - March 6, 2009 - 01:18
Status:needs review» fixed

This has been checked into dev.

#4

System Message - March 20, 2009 - 01:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.