Red problem alert on Skuid page resulting from fields in a model which are inaccessible to a user

  • 1
  • Problem
  • Updated 3 weeks ago
  • In Progress
Hello!

We have a custom standard profile which is restricted from viewing a few fields on the Contact object. When such a profile views the Skuid page they get a problem error in Skuid referencing each of the fields. They only have the Skuid Page Viewer permission set.

Is there something we're doing wrong? A user shouldn't be getting errors just because a field is not accessible to them.

Cheers!

Louis

A Skuid Model, 'ContactRecord', requested a Field with relationship name 'VIP_Phone2__c', on the Contact Object, but Skuid could not find a valid Field accessible through this relationship name. Please check that this Field actually exists on this Object (or on any related Objects). If it exists, then ensure that the user has permission to access it. If it does not exist, remove it from this Model.
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb

Posted 4 weeks ago

  • 1
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
That profile also seems to have access to view the "Edit Page" button and can view the underlying page but they get an error when trying to save any edits... So I must have done something wrong! Any ideas?
Photo of Conlan O'Rourke

Conlan O'Rourke

  • 3,280 Points 3k badge 2x thumb
I think you just need to remove that field from the model/page if the user does not have access to it.

I got this same error a couple of weeks ago. It started popping up close to but not immediately after I had upgraded. In my case it was fields that the user did not actually need access (and the profile did not have read or edit access) but were fields that had been added to the page years ago and never used...so I just removed those fields from the page to get rid of the error.

It kind of made me crazy though as to why the error message would all of a sudden start throwing...so not saying I know the exact solution, but at least you're not the only one.
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
I think that solution would work if I didn’t need other users on other profiles who do have access to that field be able to view that page and its fields. Surely the solution isn’t to maintain two separate Skuid pages? Either I’ve done something wrong or this is a bug!
Photo of Louis Skelton

Louis Skelton

  • 4,878 Points 4k badge 2x thumb
Hullo! Any thoughts on this from the Skuid camp?