View Single Post
Old 09-03-2009, 01:54 PM   #17 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by ioan1k View Post
You should check the deny for users individually outside both checking for user allow and group allow access as the deny permission is more strict it should override an allow for specific users, other than that it looks good
True.. but that scenario would only occur if I set a user on the allowed list and then on the disallowed list aswell..

How would I reorganize my if-statements to do it your way then? *too tired*

Quote:
Originally Posted by ioan1k View Post
To set it to where users only on the friend list can view the resource when loading the page simply append the friend list ID's to the allowed users array
Ahhyee.. of course. Stupid me.
But when I check the allowed users array, how would I know that the ID is a friendlist or a userid ??

By the way, thanks for all the help! I'm learning tons every day about this thanks to you
__________________
Tanax is offline  
Reply With Quote