I recently created a filtered webpart page with a number of data view web parts (DVWP), that showed the Ratings field. I wanted to show Ratings with the default star layout that shows natively in library and list views. When attempting to view the resulting page with Read privileges, the page threw a permissions error although I had read permissions to all lists and libraries underlying my DVWPs.
After validating correct permission settings for my libraries and lists as well as for the webpart pages and styles libraries, I narrowed the problem down to the “Ratings” field.
To render the “Ratings” field to the DVWP, I had changed the field format to List Form Field. This appeared to be the only way to show the stars. (see image below)
Here is the resulting code:
Unfortunately, showing the Stars in this way caused the page to be inaccessible because list form fields require contribute privileges. To change this to a display field, I deleted the =”Edit” after controlmode (highlighted in code above) to =”Display”.
This allows users with Read permissions to view the page and still allows them to rate content.