[webui] test and fix permission handling in patchinfo editor in anonymous mode