A permission seemed to be missing from hook_perm(), which was referenced in hook_menu, meaning only users with a uid of 1 could administer the module.

See patch. Also a small typo fix.

CommentFileSizeAuthor
media.module_add_admin_perm.patch1.01 KBpfaocle

Comments

pfaocle’s picture

Oops, just read the comment above the _perm function. Sorry if the above is redundant!

robertdouglass’s picture

Actually the permissions are a mess. Thanks for the patch.

moshe weitzman’s picture

Status: Needs review » Fixed
Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)