Finish writing functions to add and revoke permissions on an array of resources