Maybe modify_access is a better name for the function?