title: Query user permission level for an object's parent?
body: <p>I have a custom object with a master-detail to opportunity. Is there a way to determine if the user has read or read/write access when querying this custom object?</p>
  
  <p>To clarify my needs, I'm looking for a way to render my page (non-visualforce) with a clear distinction between records they have only read access to and records in which they may edit.</p>