09-03-2009, 01:54 PM
|
#17 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Quote:
Originally Posted by ioan1k
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
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 
__________________
|
|
|
|