Finished backend CRUD for permissions