• zzzsai.0000000
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
 Hi,

We have a profile cloned from "Partner User" named "CashRelease User". i have provided Custom Object Permissions to the custom object UserRoles.I have checked all the boxes present(Read,Create,Edit,Delete).There were no check boxes for View all and Modify All.

Now when I run a piece of code as a "CashRelease User" I get the below error:-
first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id.

and when I run it as system administrator it runs fine.

After giving all permissions it still does'nt work.
Please suggest a solution or an alternative approach to perform the action.