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
Nag Raj 32Nag Raj 32 

without object permission.

Hi,
User-A doesn't have an account object CRUD permissions.my question is.
Is user-A able to create apex class on the account or not? 
And is he able to query the records or not?
Is he able to do CRUD operations or not?
SandhyaSandhya (Salesforce Developers) 
Hi,

Apex generally runs in system context; that is, the current user's profile-based permissions, field-level security, and sharing rules are not taken into account during code execution.

Refer below link for more information on this.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_sharing.htm
 
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
 
Best Regards
Sandhya