user_readonly_scope and principal fixed