Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2004, 05:34 PM
Authorized User
 
Join Date: Nov 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to seanmayhew
Default Roles Permissions Many to Many ... Why?

Im not sure I understand why it would be set up with a many to many relationship roles to permissions. A cheesy example why would I ever add something like a "Publish News" permission to the "Mailing List" role. I wouldnt. So, wouldn't it make more sense to just have a permissions table that contains a "RoleID" column? Im sure the way its done it makes perfect sense to somebody but I dont get it.
 
Old November 4th, 2004, 05:36 PM
Authorized User
 
Join Date: Nov 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to seanmayhew
Default

I guess I've answered my own question. It would be useful if you want to have different scales of say News Contributors and Managers
 
Old November 5th, 2004, 10:51 AM
Authorized User
 
Join Date: Nov 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to seanmayhew
Default

To continue this conversation with myself I elected to create an "Available Permissions" list box rather than the drop down permissions list. This restricts the role creator to only place permissions related to the specific category when creating the role rather than allowing the selection of something like my initial question placing a "Publish News" permission into the "Mailing List" category.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Roles bhasker_braj121 SQL Server 2005 1 January 19th, 2008 12:10 PM
RoleGroups and Roles durban ASP.NET 2.0 Basics 3 September 19th, 2007 01:24 PM
Roles jackandjo BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 October 17th, 2006 03:12 AM
Chapter 6 - Roles/Permissions g_rhymes BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 3 June 28th, 2004 11:03 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.