function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karna_ShivaKarna_Shiva 

Not able to show the records without sharing, but able to create records with without sharing.

Not able to show the records without sharing and able to create records with without sharing.

A - user - no access to object 
user able to create records without sharing but with without sharing he is not able view the records and other users able to see the records.
Data is showing on apex class, but data is not displaying on vf page.

B - user - have access to object
Able to do everything.

 
venkat-Dvenkat-D
With sharing impacts only record sharing not object level permissions.

https://developer.salesforce.com/page/Enforcing_CRUD_and_FLS
Karna_ShivaKarna_Shiva
using without sharing we can create or edit or delete records, i did this, but i am facing issue while displaying those records in another vf page with without shring.

data displaying like blanks
venkat-Dvenkat-D
visual force page by default enforces Field level security if you have used inputfield  . so check for FLS in profiles as well.