inteliarchs
asked on
I need a database to store authorization information for an application.
My application will have 20 pieces of functionality that I want to grant individually. To simplify the application, I want to assign users to 1 or more of 5 groups which will be associated to the pieces of functionality. How would you draw the need table or tables?
you may also need a userfunctionality object if there are limits within the functions...
e.g. an individual may have cheque signing authority but only up to a certain monetary limit...
so they are part of the cheque signers/authorisors groups but only for certain limits...
e.g. an individual may have cheque signing authority but only up to a certain monetary limit...
so they are part of the cheque signers/authorisors groups but only for certain limits...
ASKER
Thank you this is what I came up with, I appreciate your response and so quickly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great job
you have to create some tables regarding authorization e.g following are the tables:
Users (contains User Information)
Groups (contains Group Names)
UserGroup (Contains association of user and group)
FunctionalityObjects (Contains names of all functionalities )
GroupPermission (Contains association of functionality with of that group that actually have permission for specific functionalityId)
db schema image is also attached.
Regards,
Dani