Hi, I put it in here because I think it could be a bug...
In my opinion it's not a bug...
So I found it was a caching problem.
So, caching THAT block in portal (I suppose in forum index it's not cached?) causes a very "funny" thing... If I empty the cache I can see what follows:
- Empty cache, an admin logins and load the portal, even guests can see all links.
- Empty cache, a user (even guest) without admin privileges load the portal, admin doesn't see the links as if he wasn't admin.
In a few words first to come decides...
Yes right... if you are caching the block you are caching the output, not the source... so the switch are OBVIOUSLY missed... otherwise no reason to cache.
Ok then... I solved for now disabling caching system, but this obviously causes my portal index to generate more than FIFTY queries... and I cannot effort such amount.
Another solution could be totally remove the links... but I'd like to solve it less brutally...
I totally disagree on this... if you take a look at the code in
nav_quick_links.tpl you will immediately notice that there is no SQL in that file... so there is no need to cache it...

try to believe, the number of SQL shouldn't increase if you cache or not that block.
All the switches are checked once in the PHP pages (most of them in
page_header.php), so all switches in a TPL are parsed really really fast.
My advice is to avoid caching all blocks which do not involve SQL, because it's quite useless... take a look at the home page here... sometimes it's loaded in less than one second...

and this site is on Aruba on a shared server...
I think this could be a big security problem... ALMighty Gorgon, are you there?

I don't think security is a problem for this case... can you explain this to me?
Even if some links are visible, it doesn't mean users may access them.
