When update is clicked do we send all permissions from that group along with a true/false value or just the permissions set to true along with the permission_group_id?
I like the idea of permissions having attributes for group and action
The value in parentheses for accounts is not important in terms of database design. I just wanted to make a somewhat real-life example so when I was creating users I wanted them to be real people and including their role/title was so that anyone reading it would have background for why that user would be granted those permissions.
I like the inclusion of both country_id and station_id as a way to enforce referential integrity and it also clears up the global permission.
Good catch on the duplication for Bhadrapur view permissions, that was an error on my part.
Description column is also not necessary it was just a way to translate what the permission is doing for readability.
Goal
Create tables for new permission settings that will be used for country expansion.
Details
Questions
Table Examples
Permission
Country
Station
User
User Location Permission