TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-03-2009, 03:46 PM   #21 (permalink)
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

Yes.. but.. uhh. Am I the only one who see's the problem in this xD

Look..
Fetching the friendlist is no problems.
Adding permissions to the users in the friendlist based on the permissions the owner of the blog has set is no problems either.

BUT!

Where would I store the value that says that the owner set the option "comment edit" available for users on his friendlist?? I need to store that somehow.. Otherwise I can't know if they set that the users on their friendlist have different permissions than the others that are not on the owner's friendlist..
__________________
Tanax is offline  
Reply With Quote
Old 09-03-2009, 03:57 PM   #22 (permalink)
The Contributor
 
ioan1k's Avatar
 
Join Date: Mar 2009
Location: US
Posts: 76
Thanks: 0
ioan1k is on a distinguished road
Default

This would need to be done in a seperate table, something such as

user_friendlist_settings
or
user_settings
__________________
My Portfolio - Work - Need freelance Work?
I've been developing 5 years now, and I learn something new everyday
ioan1k is offline  
Reply With Quote
Old 09-03-2009, 04:40 PM   #23 (permalink)
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

Ye, actually I realized that after I posted >.<

I'll see if I hit any troubles while developing this. As it is right now I'm probably going to use something like this:

ProfilePermissions
ImageCalendarPermissions
ImagePermissions

And inside those I will store the specific userset permissions for their profile/imagecalendar/image/etc. Obviously I'm also storing the userid so I can connect them to eachother.

Thanks for all the help! Will post more if I hit any problems..
__________________
Tanax is offline  
Reply With Quote
Old 09-03-2009, 06:12 PM   #24 (permalink)
The Contributor
 
ioan1k's Avatar
 
Join Date: Mar 2009
Location: US
Posts: 76
Thanks: 0
ioan1k is on a distinguished road
Default

Glad I could help

Happy Coding :)
__________________
My Portfolio - Work - Need freelance Work?
I've been developing 5 years now, and I learn something new everyday
ioan1k is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Class-Object visibility through Properties-Methods Access Modifiers sohdubom Advanced PHP Programming 7 08-21-2009 06:23 PM
PHP Access Date problems. mtsang Absolute Beginners 4 06-27-2009 04:59 PM
How do I design my access control system ? amitdgr General 4 04-21-2009 09:21 AM
MS Access via FTP Jenski Advanced PHP Programming 3 02-04-2009 03:27 PM
Building an Apache-like Access Control List (ACL) Wildhoney General 2 12-14-2007 02:03 PM


All times are GMT. The time now is 04:50 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design