Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 12th, 2003, 01:46 PM
bcyde's Avatar
bcyde bcyde is offline
Me likey breadsticks...
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 1,189 bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 1 h 12 m 58 sec
Reputation Power: 12
Send a message via AIM to bcyde Send a message via Yahoo to bcyde
Organized grouping

Kind of a strange problem so I'm not sure if anyone will have any input but I figured it's worth a shot.

I am trying to automate (or at least ease) the organization of several user permissions into user "classes" from an automatically generated report. There are approximately 95 different permissions belonging to different applications and an employee can have any number of these permissions (though, realistically, the most that anyone will have will be around 15). I would like to setup user classes which are just logical groupings of permissions (not necessarily based on application).

My main problems are that user classes don't have to be mutually exclusive and a user can have multiple userclasses to make reflect the permissions he has. I'd like a set of the minimum number of groups (with the max number of permissions in each group) that would be able to accurately reflect everyone's permissions.

I'm not sure if I've explained everything clearly enough so if anyone would like to assist and needs more info please let me know. I'm thinking that if I had decided not to skip over Set Theory class back in college I'd probably have a better grasp of this problem.

Any input would be greatly appreciated in the form of specific examples or key words that I should be searching for on google. BTW, this is in PHP and should be only a 1 time data merge so the algorithm doesn't necessarily need to be the quickest or most efficient.
TIA
-b
__________________
PostgreSQL, it's what's for dinner...

Last edited by bcyde : May 12th, 2003 at 01:49 PM.

Reply With Quote
  #2  
Old May 18th, 2003, 09:01 PM
theFish theFish is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Oxford, England
Posts: 14 theFish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Before I think too hard to work out a wrong solution or anything, lets get this straight...

you want a minimum number of sets, each one of which contains a number of permissions, and each user can belong to one or more sets??

From this you need to be able to create any user 'class', i.e. a user with any set of permissions from this??

Which operations will be allowed, just the union of the sets, or can intersection be allowed also?

Let me know and I'll see if I can help at all...

Reply With Quote
  #3  
Old May 18th, 2003, 11:37 PM
bcyde's Avatar
bcyde bcyde is offline
Me likey breadsticks...
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 1,189 bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 1 h 12 m 58 sec
Reputation Power: 12
Send a message via AIM to bcyde Send a message via Yahoo to bcyde
Thx, for the offer, already solved my problem with another approach, but yeah your assessment was right with union and intersection allowed.

Thanks again.
-b

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Organized grouping


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT