About this question
I am having an issue trying to implement a sample application from the book “Development with the Force.com Platform.” I am getting an error: Oops...you don't have the necessary privileges to edit this record. See your administrator for help.The sample given is of the demonstration of manual sharing:
In the example, two employees have separate roles: West and Central.
The employee with the West role creates a manual share with Read Only permissions as he owns a Resource record such that anyone with the Central role can go through the record.
After that, the employee having the Central role has to make an Assignment record by using the shared Resource record and a Project record which he is having.
When I am trying to do this as the Central user I am getting the following message:
The following I have verified:
There is a rule for manual sharing for the mentioned resource, which is shared with the Central role.
I can read the record when I am logged in as the Central user.
When I am trying to set the Central user’s role to West(same as the Resource owner’s), then the Assignment can be created.
I have also checked that the user is indeed set as the Central role.
Are there any suggestions to know the security settings denying this operation exactly? Or is it some debugging