The first time you use an app, and sometimes when you install or update it, you are asked to grant the app permission to access certain data and phone features. You can adjust these permissions any time.
To adjust permissions by feature:
Go to Settings > Security & privacy > Privacy.
You can also adjust permissions by app.