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
App DevelopmentApp Development 

how restrict access for object in communities

I have created a community where i need to restrict the access for Order object.

I have created permission set and given "Order" object access : read and edit
Also, selected permission set in community admin settings.

Still i can perform CRUD operations for order object for community user.

Any suggestions? 
NagendraNagendra (Salesforce Developers) 
Hi,

Permissions are not restrictive. Wich means that most "free" permissions will also take place. In order to restrict access, first, you must REMOVE access for that profile and then you can grant access for some users by applying the permission set.
                                                             (OR).
We can do it by cloning the profile and then can give access to objects.

Mark, it as solved if it's resolved.

Best Regards,
Nagendra.P