def METHOD_NAME(self):
    """Check we can create roles."""
    # Check without permission
    url = '/api/roles'
    data = {
        "name": "New Role",
        "body": str(self.body.id),
        "permissions": ['AddE'],
        "users": []
    }
    response = self.client.post(url, data, format='json')
    self.assertEqual(response.status_code, 403)
    # Check with body role
    self.user.profile.roles.add(self.bodyrole)
    response = self.client.post(url, data, format='json')
    self.assertEqual(response.status_code, 201)
    # Check validation
    bad_data = {
        "name": "New Role",
        "permissions": ['AddE'],
        "users": []
    }
    response = self.client.post(url, bad_data, format='json')
    self.user.profile.roles.remove(self.bodyrole)
    # Check with institute role
    self.user.profile.institute_roles.add(self.instirole)
    response = self.client.post(url, data, format='json')
    self.assertEqual(response.status_code, 201)
    self.user.profile.institute_roles.remove(self.instirole)