Here is a script on GitHub that will assign access permissions to all objects in a database to a specified database principal (User, Role, etc.). The script will check to see if the principal already has permission to an object before granting. For a user defined table, this includes select, delete, insert and update permissions. For stored procedures, it would be execute permission.
Script – Assign Permissions To All Objects