Closed (fixed)
Project:
Role to file
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2004 at 17:53 UTC
Updated:
8 Dec 2004 at 21:15 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| role_to_file.patch | 642 bytes | jad |
Comments
Comment #1
njivy commentedThanks jad. I applied your patch and updated the menus to use caching.
Comment #2
(not verified) commented