+ Start a Discussion
sultansultan 

If I make OWD for an object as "public read/write" as well as in profile level I given only "read access" to my user but my user can't create a record and also he can't edit a record.why?

Best Answer chosen by sultan
Virendra ChouhanVirendra Chouhan
Hi Raju,

The Answer is Simple - you know that Profile is used for Object level access. And OWD is used for record level access.
So,If you want to create or edit any record you must have  to Read / Write permision on that Object.

Profiles give users permission to each object and determine what a user can do to records within the object.In your case you set Read access for Object and set read / Write access for the record of that Object.
so you have to give create and edit permision in profile.





All Answers

Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)
This is because in salesforce profile level permissions overrides the OWD.
That means if profile only has 'read' access on account user will not be able tocreate account.


Thanks,
N.J
Virendra ChouhanVirendra Chouhan
Hi Raju 

When an user profile doesn’t have the visible permission for a particular object then that user doesn’t have the permission to view that object records even if it can be accessible through OWD.
Similarly even if OWD has read/write permission and profile has read only permission then that object records will be read only for the user.

Regards
Virendra


sultansultan
Hi virendra chouhan,

 we given "read/write" in OWD and profile level we given "read" access for an object. Actually we given full access to user on record level.

what is the reason  that the user can't createa record and edit a record.
Virendra ChouhanVirendra Chouhan
Hi Raju,

The Answer is Simple - you know that Profile is used for Object level access. And OWD is used for record level access.
So,If you want to create or edit any record you must have  to Read / Write permision on that Object.

Profiles give users permission to each object and determine what a user can do to records within the object.In your case you set Read access for Object and set read / Write access for the record of that Object.
so you have to give create and edit permision in profile.





This was selected as the best answer
Srinath R 9Srinath R 9
If profile has only 'Read' permission on object , then 'Edit' button will not be visible on the record and it is not possible to verify read/write access got via OWD. Best option is to verify the access is to add a 'Notes and Attachment' related list to the object and then if your are able to add attachment , it means you have read/write access to the record.
raj_sfdccraj_sfdcc
Hi ,
Find the below link to understand complete Step by Step Object Level Access Vs Record Level Access in Salesforce..
Object Level Access Vs Record Level Access (https://salessforcehacks.blogspot.com/2020/01/object-level-access-vs-record-level.html)