Questions tagged [owd]

Organization-wide Defaults (OWD)

Filter by
Sorted by
Tagged with
1
vote
2answers
45 views

Specific user cannot see other users in Standard User Report

Scenario : A User Adam of 'Regional' Role creates a User report for the User Bob of 'Country Head' Role (Role Hierarchy is 'Country Head' reports to 'Regional'). Report has the filter as Login Date ...
1
vote
2answers
40 views

Insufficient Privileges Error when clicking on EmailMessage record

Where Can I set the permissions for this object? I can see the record as an admin, because of Modify All permission. As a sales user, I can see only the records which were created by me. How to extend ...
0
votes
1answer
55 views

Restrict record visibility based on a field (even for the record owner)

I have a requirement to hide any records of an object, when the 'Status' field is set as 'Closed'. I want to hide these records from a user, even if he is the owner of the record. Is there any idea ...
0
votes
1answer
18 views

How to Bypass Grant Access using Role Hierarchy for Standard Object

Is there any way to bypass Grant Access using Role hierarchy for standard Objects. I'm Using Apex Sharing for Sharing the Record.
0
votes
0answers
25 views

Cant see Einstein Predictions

I Cant see Einstein Predictions for certain user/s. I have assigned the license to the User and tried assigning all sorts of permissions sets that I found referenced in different Articles (Ai Record ...
0
votes
1answer
41 views

Allow search on Account without Read access (Private OWD)

So I've come across a requirement which require us to set the Account OWD to private, but users still need to be able to search for an account so that they know if it exists in the org or not. Kind of ...
1
vote
1answer
44 views

Users able to edit records not owned by them inspite of OWD Setting Public Read Only

The OWD setting on Opportunity is Public Read Only Permission on Opportunity for User Profile is: Create, Edit, Delete, Read, View All. No permission to Modify All Sharing Rules are not defined for ...
0
votes
1answer
38 views

Grant access using hierarchies not working

Facing an absurd issue. USER A is aligned with role A. USER B is aligned with role B. Role A is at higher level than Role B. OWD settings for a custom object Test_c is Private. Through manual ...
0
votes
1answer
57 views

OWD Private not working

I've restricted access for Account and Order records in the system. Only owners should be able to access the data. When I login as some user A(sys admin/ non sys admin), The account and order list ...
0
votes
1answer
688 views

What does “Use” mean in Organization-Wide Defaults of Pricebook object?

I was looking for OWD Settings for Product2 object and found that OWD for Product2 is managed by Pricebook object. On checking the defaults in Pricebook object, it is set at Use unlike others which ...
0
votes
1answer
90 views

CRUD & FLS - Trailhead

I'm passing the Data Leak Prevention module and have faced some misunderstanding here in this unit Controller: public with sharing class CRUD_FLS_Challenge { public List<Treasures__c> ...
-2
votes
1answer
50 views

Standard Object Permissions for Read-only profile

For what this standard profile has for example for Account standard object access to read (without any other permissions) records? What kind of records this profile is able to read? I'm investigating ...
0
votes
2answers
219 views

prevent deletion of records even the user profile having Modify All permission

I want to prevent users from deleting the records even if they have modify all data permission. Please suggest.
0
votes
0answers
81 views

is Sharing rules get recalcuated on deployment of Same OWD

I have one repository where i have OWD for account,contact and some other custom objects which is same as in salesforce org. Is Sharing rules getting recalculated if I deployed the same OWD. Please ...
1
vote
1answer
334 views

ui.services.connection.api.PartnerConnectionException: INVALID_FIELD: salesforce

I gave permissions on Campaign to some profile - Read, Create, Edit And on OWD I gave to the Campaign member - Controlled by Campaign. When I entered Campaigns from a user in that profile- I see ...
0
votes
1answer
65 views

Record detail view is not visible for partner users

Working on custom object let's call it as 'channel plan' owd is private. - Displaying few channel plan records based on code. Apex class is without sharing. In community,I can able to view ...
0
votes
0answers
23 views

Account sharing Rule

My requirement is "Log in as any user with a profile other than System Administrator. Ensure the user has access to view all Account record types but is only able to create and edit those with the ...
0
votes
1answer
108 views

OWD Profiles and role hierarchy

Thanks Prakash. I have another related question please The OWD setting on a object ABC is set to Public REad Only and the Profile level access to my Manager on object ABC is set to Read . Grant ...
0
votes
0answers
90 views

View report records by queues not working

I have a custom report (Sales Orders with Work orders) but it doesn't filter out by queues. Both objects are on PRIVATE in the OWD and I have set the filter to the one in the print screen Any user ...
2
votes
0answers
91 views

ant won't set sharing OWD on new objects?

I am using ant migration tool to deploy a new custom object to a target. This object has external sharing OWD set to Private. I've verified this in the object metadata. <externalSharingModel>...
0
votes
1answer
51 views

Able To Delete Sobject Even if No permission for User

I have an Invoice Object inovice1, A profile sales1.Profile sales1 have no crud permission for invoice1 object not even read. Also OWD for Invoice object is set to private.Still I am able to insert,...
0
votes
1answer
105 views

“Allow Delete Only If” Permission

Disclaimer: Permission settings newbie here. In my org, there are 3 departments. I've set up a role hierarchy with three branches where each head of department (HOD) is at the top. Underneath is ...
1
vote
1answer
378 views

user unable to Edit Task, gets insufficient privileges error

A person trying to Edit a task he is "Assigned To". Profile has --> "Edit tasks" permission OWD for TASk is --> Controlled by Parent Tasks is related to either ( Account/ Opportunity) for both ...
0
votes
2answers
647 views

Case Creator unable to view case once case ownership changes to queue

This seems basic but I cannot figure out how to do this. Here are my requirements: When a User submits a developer issue case, the case gets assigned to the developer issue queue (Complete. done by ...
1
vote
0answers
48 views

Getting AccountTeamMember with Edit on OpportunityAccessLevel when OWD are Read Only

We're using apex to dynamically add/remove users to Account teams which seems to be working fine but we're noticing that users added are only getting Read access to Opportunities after being added to ...
0
votes
1answer
445 views

Implicit sharing on custom objects relationship

For a parent and child in a lookup relationship with a Grandparent of the parent. If a OWD is set to private for all objects then what will happen if- 1) CRUD access is not provided to any two of ...
2
votes
1answer
361 views

what happens to the records if record owner is inactivated or deleted from the org

I have private sharing mode (OWD) for a custom object. Thus, only record owners have access to their respective records. Now one of the owner (user) needs to be deactivated. how to handle the records ...
1
vote
1answer
230 views

Customer Community licence is not allowing to give view all access on account

Organization-wide default is Public read/write. I want a community user to access all account from community. I tried to give view all access through permission set but getting an error - . The ...
0
votes
0answers
28 views

Why Customer Community Login user doesn't see one Salesforce user but sees another?

BACKGROUND We have a trigger on the FeedItem (Chatter post) which uses a helper class: public without sharing class FeedItemTriggerHelper { public static void handleAfterInsert(List<FeedItem>...
7
votes
1answer
886 views

Can OWD be imported/exported as metadata?

I'm currently trying to create a scratch org which reflects our ludicrously complicated production org which contains hundreds of Roles. Upon deploying most of these, I get errors like: Error src/...
0
votes
1answer
30 views

Hide user records from certain groups of users

I have a requirement in my org as below I have a set of users who can access only limited set of data(say 3 objects data). In their profile I have removed cred permisions to other objects except 3 ...
3
votes
1answer
51 views

Security setting issue in salesforce-OWD

I have a requirement on admin part. I have a profile called vetprofile where the users of the profile needs to see only specific records of an object which have assigned to field value is equal to ...
0
votes
2answers
321 views

Hide Contact records while set to “Controlled By Parent” OWD

Disclaimer: We are required to set the org-wide default for contacts to "Controlled By Parent" for reasons unrelated to our issue. I am trying to determine if there is a way to hide some Contact ...
0
votes
2answers
57 views

Sharing rules to meet the certain criteria

In Account Object, I have created a field salesperson and it has a lookup relation with the user object. If the user is selected as the salesperson for a record, that user able to see those records, ...
1
vote
1answer
343 views

How to Hide Calendar/Activity Details by user wise?

I have imported A,B,C,D User Event details in Admin User. those all user events are Showing in admin calendar view. like below Image. How can i see particular users details in separate tab like ...
0
votes
1answer
228 views

Sharing button in Salesforce Platform licence custom objects

I am created one custom object name is Test. after i have imported 50 records data to Test object. here i have two users system administrator and salesforce platform user. my requirement is need to ...
1
vote
1answer
442 views

Contacts visibility to site guest user

My site guest user needs access for all the contacts in the instance. Right now site guest users can access contacts created by guest user. They are not able to access contacts created by Salesforce ...
0
votes
1answer
208 views

Duplication Rule not firing for user even we having duplication rule for Account name

Create Account "Test Sample" as system admin. Then I logged in as custom profile user, create a lead with company name "Test Sample". I tried to convert the lead it doesn't show the matching account ...
7
votes
1answer
1k views

Not able to alter Organization-Wide Defaults (OWD) via Apex

I am trying to alter Organization-Wide Defaults (OWD) via apex using https://github.com/financialforcedev/apex-mdapi (Apex Wrapper Salesforce Metadata API) tool. I can create custom object with ...
1
vote
1answer
67 views

How can I write a trigger when OWD settings change?

Can I write a trigger when OWD settings change in the org?
0
votes
1answer
83 views

Insufficient access error on record for a profile

I have Read permission on a object for a profile. Also, OWD settings is Public Read/Write. Still the record is getting insufficient access for the relevant User. Why am I getting this error? Why is ...
0
votes
1answer
262 views

Can we display the records in Visualforce page. If the object is private at OWD?

I have an object which is private at OWD. I am trying to display all the user's records of that object in the Visualforce page. Is it possible? How to display?
1
vote
1answer
233 views

Did Account team members will get access to child records of Account where Account is Master object?

Did Account team members will get access to child records of Account where Account is Master object? Child object is Custom object.
0
votes
1answer
29 views

share record depend upon field value

I have one custom object, in that one field named as 'status' - pick list value. my requirement is - when the status field goes to 'assigned',all profiles in org can able to see the record.if the pick ...
0
votes
1answer
64 views

How to restrict lead records when i change the status field?

I am creating two users A and B using salesforce profiles. when user A create lead with status open it will show Admin user,User A and User B. Now my requirement is User A changed the status is ...
0
votes
1answer
1k views

Insufficient Privilege when editing a Task related to an object

I have a TASK related to an object abc__c. OWD for activity is- Controlled by Parent and the task is related to abc__c object that has Read, Create, Edit on object level and Private on OWD. The ...
1
vote
0answers
60 views

Editing a contact that has no Account and are owned by others

With Contacts that has Public read/write in sharing settings and the user has read,edit,create,view all permissions only. The user will not be able to edit the contacts owned by other users unless ...
0
votes
1answer
55 views

How to share access of a private child to same access as parent, without using master-detail?

Given my object relationship below, how (without using master-detail between media and account) would I solve the need to share Media__c in a private Media__c model such that access to Media mimics/...
0
votes
2answers
84 views

Security Model for multiple LOB's

We have 3 Line Of businesses(A, B & c) in one org, sharing the account and contact standard object. I would like to know you thoughts and best approach to maintain good data/security model. 1) ...
1
vote
1answer
2k views

How to give Edit access to a user to the records that are not owned by him

I have a custom object with OWD as private. Now I have a requirement where a user has should be able to EDIT records that are not owned by him But should not be able to delete them. I tried creating a ...