Roles Users

I’m developing a app that it has several kind of users groups, and each group has different permissions. For Example:
Boss is admin, it can do everything and see everything
Manager, it can’t delete datas but it can create and manager employees
Employees, it can do basic crud…

It’s small example. But I want to know how I can do this.
I’m developing in Ionic 2 rc 2 + API with PHP + MySQL

I appreciate if you help me, please.