xdemo.xdata add rights control