Is there a way to customize a role in a way where the role is restricted to viewing only one product group/class, or one vendor's items, or one customer's transactions?
e
ericbirdsall
12/11/2020, 2:09 PM
I don’t believe you can do so natively. Though, you could do this with scripting.
k
KJ McLaughlin
12/11/2020, 2:12 PM
Thank you - a simple script or more complex?
e
ericbirdsall
12/11/2020, 2:19 PM
Nothing too crazy—
Essentially a beforeLoad script that checks the customer ID of the record being loaded. If the customer ID doesnt match the single customer ID that you want the user to be able to see then it could throw an error “You dont have permission to view this customer”
Then the same idea for the other two record types
k
KJ McLaughlin
12/11/2020, 2:48 PM
Thank you!
m
michoel
12/12/2020, 10:21 PM
Keep in mind this won't prevent them from seeing such record in searches/lists