There is no role assignment id exposed, so it's not a bug, it's a missing feature in the API and SPI.