Set roles for api