I have a table applied in two different approaches:
GroupModule:
Id, GroupId, ModuleId, Permission(varchar())
1 1 1 View:true,Create:false,Delete:true,Edit:true
2 1 2 View:true,Create:true,Delete:true,Edit:false
GroupModule:
Id,GroupId,ModuleId,PermissionId
In the first example i would have create a prsing method so that i can perform authorization for a specific Group.
In Second example i have permissionid's
Since this is the most important table ,as it is used for authorization purpose, so there is a great concern for performance.
What would be the best approach in this scenario.
I have posted two other questions but i have not recieved any response, kindly let me know if you need more explanation.