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

learn more… | top users | synonyms

1
vote
1answer
15 views

Limit access to cases user created in Salesforce Community

I'm setting up a private Salesforce Community based on the Napili template and I want to show community members those cases created by them. So far I can only give all or nothing access to cases ...
0
votes
0answers
24 views

What Document Management Platform have integration with Salesforce? [on hold]

I am looking to learn from the community of great Document Management Platforms that integrate with salesforce. Please provide facts that I can review in the comments below.
0
votes
2answers
15 views

Record access during Manual sharing

This might sound very basic but I was not able to find the right documentation for this. Suppose I have a record whose Owner is X. Once X fills out the record and saves it, the record type changes ...
0
votes
0answers
5 views

Partner User Sharing Settings

I am a user A with 'Force.com - App Subscription User' profile. I have created an Account 'Test Account' and made its Contact 'Test Contact' as a Partner User B. Now the account 'Partner Test' created ...
1
vote
1answer
17 views

How can I restrict a profile's read access on an object if my org-wide default is public read-only?

My org has a default of public read-only on a certain object, but I want to set up a new profile that can only see certain records based on criteria. Is this even possible to do? If so, how?
0
votes
1answer
36 views

How to deploy Sharing rules using Eclipse

I am trying to deploy Sharing rules (Criteria Based) from one Org to another Org using eclipse and when I try to do it gives an error "Component type not permissible in destination Organization".
0
votes
1answer
17 views

Providing visibility to parent when child is visible

I have two custom objects A and B. B(child) has a lookup field to A(parent). The OWD for object A is private and we employ certain sharing rules as per the requirements. Is there any way such when a ...
4
votes
1answer
24 views

Look up to Master-detail through MetaData API: “cannot add master-detail relationship due to existing data rows”

Trying to change the existing relation between A(Parent) and B(Child) from Look up to Master- Detail. Deploying "B__c.A__c" using ANT. Ran a query on B and made sure all B__c.A__c is populated (As ...
7
votes
2answers
54 views

Unit Test for Record Sharing in Controller Extensions

I would like to assert that User B cannot access a record that User A had created from a visualforce page. The problem is I can't seem to throw the same exception a user would normally see when ...
3
votes
1answer
50 views

When to use Groups and when Roles

We are building a solution using service cloud console which will be used by multiple customers. One org will have data in various objects like accounts, contacts, cases and some custom objects for ...
0
votes
1answer
31 views

Record level security among multiple customers accessing solution

We are building a solution using service cloud console which will be used by multiple customers. We will have our code pushed to one org in production and this org will have data in various objects ...
7
votes
1answer
148 views

Salesforce UserRecordAccess query not returning results

I have an apex class that is declared 'without sharing'. This class does some background processing and as a part of that processing, determines whether or not record owners have access to other ...
0
votes
1answer
36 views

Making fields visible only in ListView

I am having a hard time accomplishing this. My requirement is to have Account object private but i need few fields from accounts to be visible in the account list view for all users such as Account ...
1
vote
1answer
65 views

Sharing records using criteria based sharing rules

Made OWD for Contact as Private and defined 2 criteria based sharing rules If brand = abc.. share this contact with Role A and its subordinates If brand = def.. share this contact with Role B and ...
1
vote
1answer
35 views

Sharing records with roles based on recordtype and field value

My Org has 2 brands "A" and "B". On each contact record there is field called Brand. If this is populated with "A", record type is changed to "RT-A" and if Brand has value "B", record type is changed ...
0
votes
1answer
22 views

Giving exclusive access to certain records in custom object

In this org, I have this custom object, where the OWD is public write/read, and in every profile no one have access to this custom object. access to read and write is granted via permission set. What ...
1
vote
0answers
12 views

How to share Case record to owner's manager using Manager Groups

I have this situation: In Sharing Settings, Default Internal Access of Case object is set to "Private". Roles are configured and is working fine. Users in upper roles are able to see records owned ...
0
votes
1answer
26 views

FeedItem ParentId Access

This question is an extension of: ContentWorkspace Permission And Migrating I have Portal Users that are creating FeedItems that are related to a custom-object record they have access too. Previously ...
0
votes
0answers
17 views

Migrate / Script sharing settings?

We are in the process of opening up community portal for our customers. I noticed that we have to go through setting up sharing settings. These settings are currently tweaked in our sandbox ...
0
votes
1answer
22 views

Does Case field 'IsVisibleInSelfService' have any effect on Customer Communities?

According to SF's SOAP API documentation: IsVisibleInSelfService: Indicates whether the case can be viewed in the Customer Service Portal, Partner Service Portal, and Self-Service Portal (true) ...
1
vote
1answer
14 views

User Email field unavailable to community user sharing?

Is the Email field in the User object hidden from customer community users? My client has customer community and has written an application for the community. There is an Apex class "with sharing" ...
0
votes
0answers
15 views

Community user OWD custom object private

I have create a profile with 2 user and added the profile to a community, have set sharing setting of a custom object to private and also disabled Portal User Visibility, Community User Visibility ...
1
vote
0answers
36 views

Inheriting / Extending sharing rules on a custom object

Here is my scenario, GroupAccount - (ORG wide READ permission) A custom object which is parent object of Account (standard) One GA can have many Accounts Account - (ORG wide - Private)(Has ...
0
votes
0answers
140 views

Process Builder Error : The flow failed to access the value for myVariable_current.BD_Auditor__c because it hasn't been set or assigned

I've a similar problem with my process builder like that of @ritesh jaiswal had asked on 23rd September 2015. My requirement is to share a set of records that are newly created by the owner or creator ...
2
votes
2answers
40 views

User with no access to child object can create records?

I have two objects Parent__c and Child__c with parent-child relationship. OWD settings for Parent__c is Public Read/Write and for Child__c it is Private. The User1 has Read/Write/Delete/Edit access ...
1
vote
1answer
33 views

Contact Access to user

I want to give contact edit permission(without giving delete permission) to user when the organization-wide default for contacts is Controlled by Parent. Any idea how to achieve this? Thanks in ...
2
votes
0answers
16 views

What is the best way to check the user's permissions for a specific record within a visual workflow?

I have a flow that adds products to an Opportunity, but I want to be able to make sure that the user running the flow actually has permission to edit the Opp before continuing with the flow. What is ...
2
votes
0answers
50 views

Apex Manage Sharing : Multiple users with 'Full Access'

I have a scenario that, once the user 'A' created the record, the ownership of the record assigned to user 'B'. Theoretically, user 'B' automatically gets the "Full Access" to the record. Meanwhile I ...
0
votes
2answers
156 views

No product object sharing rule

I need to create a sharing rule for the record type of products in my products object. How can i achieve this? Thank you in advance
0
votes
0answers
8 views

License Authenticated Website

I have a customer’s portal available in my ORG, but I only have this license “Authenticated Website”. As this license doesn’t have access to the case, I created a custom object similar to the case. ...
3
votes
1answer
58 views

System wide Sharing Rules: Vacation

I am trying to redefine the security on my org. I have rebuild the profiles (down from 78 to about 12) and the roles now make a lot more sense. One of my issues is that the sales support folks, who ...
0
votes
1answer
85 views

Revoke record sharing access using Apex

I am sharing records of a custom object using User Managed Sharing through an Apex class CustomObj__Share teamShare = new CustomObj__Share(); // Set the ID of record being shared. ...
1
vote
1answer
74 views

Customer Portal Plus user's access to custom object's records

I would like to share with my community users records of particular custom object. Users use Customer Portal Plus licenses. I would like situation where every user can view every record of this ...
0
votes
1answer
26 views

How do make sharing setting of a custom object be controlled by parent in a look up relationship

I created a custom object with a lookup relationship to opportunity. I want the sharing to be same for this custom object with that of opportunity.
-1
votes
1answer
22 views

How can I share a particular account using manual sharing?

I want to share a particular account to different users in organization.I try to use the sharing button on the account record and when I try to add that users,it shows me the message that selected ...
0
votes
1answer
58 views

I have access to Contact, even though OWD is set to Private and record has not been shared

I have set OWD for both Account and Contact to Private. I created an Account and shared it with all users. I created a Contact for that Account, but I didn't share it with any users. I log in as a ...
0
votes
1answer
28 views

Record ownership…dilemma

Suppose user A transfers his Records User B .Will user A still retain owership after transferring? How can user A revoke access of Record from User B
0
votes
1answer
28 views

Grant document folder access for a Profile

I would like to give all users with a certain profile access to a Document Folder I have created. However, when I edit the folder, I am only able to grant access to Roles or Public Groups, I am not ...
0
votes
0answers
15 views

Is this constant declaration “managed package safe”

I have a use case where I need to use an apex sharing rule to open a record up to the public. Wondering if the following constant declaration is guaranteed to work in every org (aka does every org ...
0
votes
1answer
49 views

How to share objects with users in a many-to-many relationship?

I have a user to object many-to-many relationship and would like to give users read access to all objects that they are related to. In my data model there are three objects: User, Junction, and Foo. ...
1
vote
2answers
66 views

Salesforce Class/Method “with sharing” documentation clarification

I'm going to take the dev 501 exam in a couple of weeks but I'm having trouble understanding something that I am seeing in videos Apex -> Introduction to Apex slides. In the Class Syntax: Sharing ...
2
votes
1answer
45 views

Restrict access to sibling records (in community)

I have a sharing/permission issue I cannot work out simply. My structure is a top-level object called "Project", which has a Master-Detail (because we need roll-ups) to a child called "Assignment" ...
2
votes
0answers
200 views

How to deploy more than one sharing rule in one deployment?

If I keep two criteria based sharing rules in Account.sharingRules XML file, there is a deployment error in start line of the the second rule: sharing operation already in progress. How do we deploy ...
1
vote
1answer
73 views

Couldn't see the “Sharing Sets” section in the Community --> Settings

We are configuring a new org (enterprise edition). I need to create a Sharing set for our Customer Community Plus Login users to access the records. I couldn't find the SHARING SETS section in Build | ...
4
votes
1answer
42 views

How to find out the owner of a record where the object has two master detail relationships

I have a custom object which has two master detail relationships. One to Opportunity and one to another custom object. It is on the detail side. I'm trying to determine which parent object will ...
0
votes
1answer
22 views

Hide other users visibility

I would like to know if it is possible to hide the visibility of all users to a specific profile. In particular, our need is to list only a certain type of users in the calendar multi-users view and ...
0
votes
1answer
52 views

Insufficient privileges for sharing projects

I have a button to share projects but if the user isn't a sysadmin, neither ownerid, neither has the 'ModifyAllRecords' permissions, system shows an error message Insert failed. First exception ...
1
vote
0answers
99 views

Sharing Records owned by community users

In my system i have requirement where i need to share records of particular object with different roles in round robin fashion. I am doing this with the help of trigger. Now the problem i am facing is ...
1
vote
0answers
266 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []

I have been battling with this for few days now. Below is my scenario. I do have a trigger on Sampling__c object that updates the owner and assigns a manager for the request created. When updating ...
2
votes
0answers
101 views

Customer Community Plus Users can not access case sharing

We have a lot of Users in Communities with Customer Community Plus licenses. An error appears if the user want to have access to Case Sharing. With any other license (e.g. Customer Community Partner) ...