[#69482734] make privileges a passed dynamic variable to support read-on...

...ly api user