I think Jason is right, this model is widely used for managing permissions. In the future if you need to change or add some new types of permissions all you have to do is to add a Role. In most cases you don't even need to add a new class.
From the data model perspective the role represent just...
Hi, LocoCoco
I think you got the idea. The few remarks I have are related to advanced oo design techniques, and design patterns.
Do you really need the CategoryArray class? Is not possible to use the same mechanism as for the task? you don't have a task list object and I don't think you need...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.