Add documentation and example for rights management