I'm getting a strange permissions error: `Code: IN...
# suitecommerce
c
I'm getting a strange permissions error:
Code: INSUFFICIENT_PERMISSION Details: Permission Violation: The restrictions on your role deny you access to this record.
It's thrown in
LiveOrder.Model.getFieldValues()
. It only happens on a few users. I have also disabled all modifications to our LiveOrder.Model and still get the error. Anyone have suggestions on troubleshooting?
s
It’s a really vague error that’s hard to analyse tbh. Are you able to identify who these specifics users are? For example, I have seen issues like this when a user from another sub tries to use a site/item/record of some sort that belongs in another sub
c
I can identify the users, yes. What does "sub" mean?
Subrecord?
s
subsidiary
👍 1
c
This was resolved by switching the user back to the NetSuite pre-defined Customer Center role. A comparison of roles shows: Reports Return Authorization Reports View None Reports Sales Order Transaction Report View None
I'm not exactly sure where to find these reports or manage the associated permissions.
s
So, what you're saying is that by not having access to those reports, it causes the error?
c
Yes. It sounds like a strange thing to say, I know.
s
Well, it’s a data point to investigate at least
👍🏻 1
c
Some more testing has revealed that this seems related to customers that have Quotations created in their transaction history. Just fyi.
s
OK, and do they have the right permissions to view/edit estimate records?