Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > Putting it Together > Databases

Reply
 
LinkBack Thread Tools
Old November 23rd, 2005, 01:34 PM   #1
New Member
 

Join Date: Nov 2005
Location: Southampton
Age: 37
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Elitachi is on a distinguished road
Database design

Hi Guys

My first post, so here goes.

I am designing a cms, but before I do that I,m concentrating on the ums - user management, now, I have designed what I think to be a good table structure but I thought I would post here for everyone to look at, and hopefully give advice.

Here it is



Now, what do you think?

I,ll explain it a little, firstly there is the module table, this will list every unique aspect of the site, i.e contact, news, tutorials etc etc.

Then a permissions table, i.e view, edit, delete etc, I thought this would be good, otherwise I would have to create a sub module table, and create a sub module for each permission, now seeing as most modules will be using the same basic set of permissions, its easier this way.

Does the module_has_permissions table look ok to everyone? you,ll notice there is a PK called module-has_permission_id and two FK's which have also been incorporated into a unique index. Is this the correct to achieve what I want, which is this...

Modules can have any number of permissions, but a group can only be given a permission if it already exists.

If anyone can offer advice, alternate way of doing the same or thinks what I have is good, then please fell to comment.

Thanks

Elitachi
Elitachi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
database , design


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

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

BB 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
Music Database design help! browno Databases 10 December 30th, 2008 12:13 AM
Database Design and Documentation gustava32 Databases 4 December 1st, 2006 02:59 PM
Database Design Help gustava32 Databases 2 November 3rd, 2006 12:04 PM
database design ntgcmlfu Databases 4 July 19th, 2006 06:33 AM
database design tula Databases 2 October 4th, 2005 12:24 PM


Search Engine Optimization by vBSEO 3.2.0 RC8