INSUFFICIENT_PERMISSION: Permission Violation: The...
# ask-stanley-ai
l
INSUFFICIENT_PERMISSION: Permission Violation: The restrictions on your role deny you access to this record. this is only happening for certain employees even tho they have the same role.
c
AI generated answer (using internal Slack threads):
Based on the conversations, the "Permission Violation: The restrictions on your role deny you access to this record" error can occur due to several reasons even if the employees have the same role. Here are some possible causes and solutions: 1. Role Restrictions: Check if the role has restrictions on Subsidiary, Department, Class, or Location. Even if the employees have the same role, these restrictions can cause different access levels. 2. Script Permissions: If a script is running that requires certain permissions, make sure the script has the necessary permissions. You can create a role for your script and give that role all necessary permissions that the script needs to execute. Then you can attach that role to your script. 3. Custom Record Permissions: If the issue is related to a custom record, you can try making the custom record public if it's not sensitive information. Alternatively, you can set the access type of the custom record to "No Permission Required". 4. Sales Rep Role: If the role is a sales role, there might be additional restrictions or permissions needed. Even if the employees are not in a sales role but are marked as sales reps, they might need additional permissions to view certain records. Remember, it's always important to thoroughly review the permissions and restrictions associated with each role, as well as any scripts or custom records that might be involved. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86553967
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.852295
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848510802
Please provide your feedback on this answer.
a
May be you apply class location department restrictions
l
on the employee level? or role? because not every user is having this issue even tho they are all using the same role
a
on role level
l
i checked but no restrictions at all