Installed role_to_file module recently, and found I was unable to administer it (getting 'not permitted' errors).

Investigation revealed that the access flag from user_access was not being set in the items[] array, in the
role_to_file_menu function.

This one line patch just puts the return value from user_access in the right place, and makes things work as they
should.

CommentFileSizeAuthor
role_to_file.patch642 bytesjad

Comments

njivy’s picture

Thanks jad. I applied your patch and updated the menus to use caching.

Anonymous’s picture