Discussions
Test for permissions
I have an after submit sss on tasks that goes and updates the corresponding customer record if applicable and conditions are met. However, not all roles entering these tasks have permission to edit the customer record (they can view).
Is there a way to test if the current user has edit permissions before I attempt to load/edit the customer record?
In the end they can't update anyway, but I get notice of all the permission errors... just wondering if there is a clean way to do this.
Matt