I'm not sure if dev is still monitoring the thread but I wanted to give a bug report, regarding:
Quote:
Known Bugs:There is a conflict with this modification and some of Valter's VSA modifications that will prevent navbar permissions from being handled correctly. I don't know exactly who's fault it is; but I'm pretty sure there are no errors in my code that would be causing this problem. There is a work around for this however.
|
This is not limited to Valter's VSA modifications hack. For some reason it happens to show up without that hack as well and with no particular reason:
function media_permissions() are called inside media NAVTAB hook in process_templates_complete. Right before this function is called there (line $perms = media_permissions(); ) $permissions['medialibperms'] is 127 as it should be.
When script passes control to function, $permissions is global'ed as it should be. So one expects $permissions['medialibperms'] value to be 127 as it is not inherited from called script but it is then 0! It is really weird and I couldn't find time to dig into it but I simply bypassed it by declaring $permissions['medialibperms'] = 127; inside media_permissions() function which fixed the bug for me. (Dev's solution didn't btw)
If hack is updated, this requires an attention though so I'm reporting it for dev.