Sharing enables record-level access control for all custom objects, as well as many standard objects.

learn more… | top users | synonyms

1
vote
0answers
27 views

Insufficient Privileges as System Administrator on Opportunity

I am the System Administrator (Standard Profile) and receiving Insufficient Privileges error when trying to access Opportunity fields. "Insufficient Privileges You do not have the level of access ...
3
votes
1answer
73 views

FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid user or group: 005XXXXXXXXXXXX)

I've a object called myobject__c. This object is private in OWD Setting. Now when admin create a new record of this object then I want to share this record with a user(community user). For this I've ...
3
votes
1answer
22 views

Other profiles do not have access to RowCause field for sharing

I am sharing a record using a visualforce interface. When I log in as the System Admistrator and share the record it works fine but when I log in as a user from any other profile except Sys Admin it ...
3
votes
1answer
43 views

Is it required for Security Scanner - global with sharing myBatch implement Database.Batachable<sObject>

I am about send my package for Security Scanner, So Is there any requirement to add "with Sharing" for all of my Batch Classes. global with sharing myBatch implement ...
2
votes
1answer
23 views

API AJAX Toolkit, Possible to specify executions w/ and w/o sharing rules?

One can easily run the AJAX Toolkit, but it will always run respecting sharing rules. Example of running a simple AJAX command would look as such: Example Source var result = ...
3
votes
2answers
25 views

Unit testing private sharing

Say I have a class marked without sharing for reading eg Account records without regard to sharing settings. (This would be used in contexts where the current user's privilege level would disallow the ...
2
votes
1answer
35 views

without sharing and delete?

I am creating a button that gives some users the ability to delete opportunities. The big caveat is that they need to be able to delete the opps where the owner is in the same role. I changed my ...
0
votes
1answer
28 views

How can sibling A in the role hierarchy delete sibling B's records? Implementation options?

How do you address the issue where two users within the same role need to be able to delete each other’s opportunities? In most cases, this can be done by having a super user above the others in the ...
0
votes
1answer
25 views

Unit Test User Context?

I'm implementing Communities and need to improve my org's security settings. I set Accounts to be private with a sharing rule of "Owner in all internal users" is shared with "All internal users". One ...
0
votes
0answers
12 views

Access to Partner when the Account added as an Partner to Opportunity

I have a requirement where whenever a Account is added to an Opportunity and if that Account is enabled a partner, then to give access to the Partner users of that Account access to the Opportunity. ...
1
vote
2answers
84 views

Authorization Required

I have created simple site that create a new case. Note : I have given the Site permissions Visualforce page,Controller ,Lead Object and Case Object. While execute the site Lead is created ...
1
vote
2answers
62 views

System.runAs(u2) can't see records created by System.runAs(u1) in same testmethod

I have written a class that is called from different triggers. This class accepts a list of api fields and an object name. The class will go through the api fields and check to see if the old value ...
1
vote
1answer
13 views

Copy sharing records

New to SFDC. If we use Informatica to copy data out from SFDC into a custom data warehouse, is there a way to copy the "sharing records" that SFDC maintains that determines which user has access to ...
2
votes
1answer
33 views

Why is Transfer Record a system permission? Is there any other way to accomplish the same thing on a per-object basis?

I have a requirement to grant a set of Users the ability to transfer ownership of all records of a certain object type, regardless of current ownership. I know I can accomplish this by granting this ...
11
votes
2answers
451 views

How to pass security review when using “Without sharing” by design?

I failed to pass security review for an app that has two classes using the "without sharing" keyword. Both were not choosen accidentally but by design. On class is SObjectUnitOfWork.cls from Andrew ...
2
votes
2answers
14 views

Is there a way to automatically share organizations with their parent organization?

I thought this happened automatically but right now when i add a parent organization to an organization, i still have to manually add the portal roles of that parent organization to the sharing ...
1
vote
1answer
42 views

Sharing rules on Community Users

I need to create a Account and have a lookup from account to Account as (Partner). Lookup will determine if related Account, related Contacts and Opportunities are visible to these Partner Community ...
2
votes
2answers
112 views

How to grant limited access to accounts?

I have a support rep that his role has access to ALL accounts. Support role does NOT have access to opptys. There is a request now to give a specific support rep, access to a specific account opptys ...
0
votes
0answers
20 views

How to Hide Sales data from partner users in the same partner role?

We have a situation, where one of our partners (partner portal user) has 3 sales people, whom he does not want to share the sales data between them. Our partner defaults to 3 partner role levels, and ...
4
votes
2answers
52 views

Contact visibility - what controls this

I have two users who are identical in roles, profiles, and group memberships. One can see a particular contact; the other cannot. We are set up so that Accounts have default access of "Private" and ...
2
votes
1answer
69 views

Sortof-Private Sharing

I am building a performance management tool for my organization, where the top Performance__c table needs to be private, so as to obscure the quota and commission data per employee. Challenge: Allow ...
0
votes
1answer
36 views

How do I set up calendar sharing in Salesforce?

Currently, our organization utilizes Calendar Sharing in the My Personal Information section in Salesforce. We have a team that makes calls that manages calendars for the Account Executive team. ...
0
votes
1answer
85 views

Sharing Records in Communities with Customer Licenses (No Partner Licenses)

In my organization, users in Communities are currently associated with a single account. When users are created, they are given a unique user name and contact. This has worked well in that the ...
0
votes
0answers
47 views

Authenticated Website user cannot update own record

We use sharing sets to share records between users with an Authenticated Website license. We had a lookup field to Account in all our custom objects to facilitate the sharing. Spring '14 brought with ...
2
votes
0answers
44 views

How can a Partner User will able to see Reports based on Product/Pricebook

As mentioned by salesforce.com the Partner Users can only able to report on S/C-objects which are Private in Sharing Settings, then how can Partner Community User can see Products/Pricebook fields in ...
6
votes
0answers
87 views

Why there is no OWD settings for Product Object

I was wondering why there is no OWD settings for Product Object. And as it was said that PriceBookEntry is a junction object for Products & ProductPortfolio then why there a OWD settings option ...
20
votes
1answer
179 views

InstallHandler runs under a special ghost user. What rights does it have?

When you install a managed package with a post-install script, Salesforce creates a special ghost user under which all of the post install activities occur. I think this is undocumented. Here are some ...
1
vote
1answer
60 views

Sharing Rules in Salesforce

I have the following requirement. In my organization i have 3 users. Let the first user is say UserA and he is admin. Second UserB and third UserC are one role below the Admin. Now I want the UserB's ...
5
votes
3answers
50 views

sharing opportunities with partners

Is there a way of sharing opportunities that are not closed with specific license type or profiles? I want to be able to share only closed opportunities with my partners.
3
votes
2answers
92 views

Can we delete records in share table with row cause as Rule?

delete [Select o.UserOrGroupId, o.RowCause, o.OpportunityId, o.OpportunityAccessLevel, o.Id From OpportunityShare o where RowCause='Rule' and o.OpportunityId='######']; Trying the above and looks ...
3
votes
0answers
16 views

How to check the progress of a sharing rule deploy

How can I check the progress of a sharing rule deploy. I made a sharing rule change but I have nowhere to check the progress of this job, therefore I cannot know when I can make another change to the ...
3
votes
1answer
142 views

The installed managed class is not visible

I have created a VF page and using class as extensions of the VF page. I have created a site in the VF page as home page. The page is getting displayed but when i click the submit button on the VF ...
1
vote
2answers
85 views

Account sharing rule not working in apex code

I've set up Account sharing rules so that if a checkbox field is false, Accounts are Read/Write for All Internal Users. I have a Profile (thisProfile) where all CRUD operations are ticked, but not ...
1
vote
1answer
199 views

Records visibility in Salesforce Communities

I have created a community in salesforce , i have a customer community user , to be login into salesforce community as user , all i do is go to contact record and manage ,and login as customer as ...
0
votes
1answer
41 views

Why isn't my account sharing rule showing the opportunities?

Can someone explain the account sharing interface to me in terms of the opportunity and case access? I thought this would let you set sharing rules for opps. Problem: I'm trying to make ...
1
vote
1answer
30 views

Want to display records to owner only in a customer portal

Want to display records to owner only in a customer portal. Other users must not able to view others records
0
votes
0answers
33 views

Campaign Record Insert Error. Insufficient Access On Cross Reference Id

In our salesforce org there is eloqua integration. It basically inserts Campaign records into salesforce. For 1 campaign i am getting this error "Insufficient Access on Cross Reference Id". I already ...
3
votes
1answer
69 views

User is unable to see the opportunity records even though profile is having View All Data Permission?

User is unable to see the opportunity records even though profile is having View All Data Permission? Any Help is appriciated.
1
vote
1answer
81 views

Master Detail Sharing Rule

I know that Details inherits Masters permissions but i am bit confused with the below scenario - Object A - Master Object and profile has Create/Edit/Delete/View all on it Object B - Detail Object ...
2
votes
2answers
66 views

Sharing Activities Programmatically

Can Activities be shared programmatically? They don't seem to have a share object associated to them? Can programmatic sharing of Activities be achieved without a Share object?
6
votes
1answer
91 views

Troubleshooting a Record Sharing Mystery

Update: Totally rewriting/simplifying this question now that I've zero'ed in on the core issue. I'm sharing an Account, Program B with a public group called Access Program B's Data. As part of that ...
3
votes
1answer
71 views

Allow certain users to see records on related list but not be able to view detail?

We want to allow our salesmen to see other salesmen's opportunities, but only on related lists (such as on the account detail page). They should not be able to click on the opportunity to see the ...
1
vote
0answers
34 views

Custom Object Detail Filter on Sharing

I am trying to show the list view from the User & Groups Sharing page on a custom object in a visualforce page. I currently have the following code: <apex:page> <apex:pageBlock> ...
0
votes
0answers
29 views

Show User & Group Sharing as Related List

Instead of having to click on the Sharing button in a custom object to view the User and Group Sharing view my team wants this exact same view to show in a Related List type of format on the main ...
3
votes
1answer
64 views

Innerclasses marked as without sharing/Outerclass is with sharing

I had this use case where i need to run the entire class in 'respecting sharing rules of org' But in there i had to query Entitysubscirption object list<EntitySubscription>listt = [Select ...
1
vote
1answer
39 views

Related List Records access for PortalUser

How do I create the Account sharing rules to customer portal user based on this current setup: Account is "Private" Contact is "Control by Parent". I have created a customerPortal user called ...
0
votes
0answers
71 views

Why can't I change the Contact Access for an Account Team member?

I am trying to give Read/Write access to an Account Team member on all Contact records for an Account. I can select the value in the settings dialog, but when I hit Save, it seems the value reverts ...
2
votes
1answer
28 views

One general sharing rule for a user with a role to share Contacts with their Managers

I want to set up a general sharing rule that any user with a role of "Area Coordinator" share the Contacts that they own with their Managers as defined by the Manager hierarchy field on the user. Is ...
0
votes
2answers
300 views

How to Search contacts using wildcard characters(*,%,?) in salesforce

Please give me answer for "How to Search(box) list of contacts using wildcard characters(*,%,?) in salesforce "
2
votes
1answer
43 views

Granting read/write to all members in a role

I'm sure there's a way to do this but can't quite figure it out. I have a custom object, and want access to it controlled by the role hierarchy. However, I want everyone at the same role as the ...