Added support for retrieving the rights from the client.