restricting permission to user sites administration isn't working.

the problematic line in sites.modules (33,42,52,61) :
'access callback' => user_access('administer sites'),

ought to be :
'access arguments' => array('administer sites'),

which works as expected.

CommentFileSizeAuthor
#1 884666.patch1.76 KBaufumy

Comments

aufumy’s picture

Status: Active » Needs review
StatusFileSize
new1.76 KB

created a patch based on info above.

Please test, if patch applies, change status of issue to reviewed & tested by the community.

nod_’s picture

Status: Needs review » Reviewed & tested by the community

great. it works, thank you.

Next time i'll learn how to make a patch ^^.

takki’s picture

Version: 6.x-2.4 » 6.x-2.x-dev
Status: Reviewed & tested by the community » Closed (fixed)

Commited to 6.x-2.x-dev thanks! I guess it was about time :)