I have done this particular scenario b4. What i do is create a separate table with the group names and put in the tasks allowed. Tha task is either allowed or not allowed depending on u. I know there will be lots of repetition on the table but u hv the primary key as the groupname and the task allowed.
Another way is make a column in your user table and put for example integers 1110001010. First number indicating the first task, second indicate second task and so on. 1 is allowed and 0 not allowed. These r jus some of my ideas
JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "b4" instead of spelling out "before" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.
I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.