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
john harvey 2john harvey 2 

How to restrict access to a record only to a group of administrators?

What I want is even if an admin deletes the data it stays in salesforce and not visible to any other user. To achieve this I thought of a solution to create a button for delete and that would make a checkbox field true. Based on the value of checkbox field is there anyway I can restrict those record's access to only a group? Can this be achieved by sharing setting? I tried but did not work. Any suggestions please?