$ 0 0 When the read only user is trying to click on a ribbon button the user is getting the below error "Undefined error code [object object]". We debugged the javascript file and it was not happening because of any custom js code.