Legal rights undermined in Hong Kong under Beijing's securit