Which table contains all of the module permission data?
To modify the permission data via drush command line. I first had to find the permission name by right click the checkbox on the module page and inspect element, in my case it was 3[view any office office] 

The table responsible for permissions is: role_permission

I then goto the terminal and insert the following query: 

drush sqlq 'insert into role_permission values(3,"view any office office", "office")'


3 is the role number then the name of the permission (view any office office) and then the module name (office).