Is there any way to override permissions file

Simplest way I do it is like this:
You can have a look at the following url: /admin/settings/roles/
to get there: Settings > ADMINISTRATION PANEL > Roles > Edit the role you wish to edit.

If you really want to, but I wouldn’t recommend it is on the db directly in the strapi_permission table