I have a custom object called Document__c, and I want users with certain roles to have access to a Document__c record only if a field has a certain value. I have set Document__c's internal and external access as private, with no hierarchy access. I have created the roles I need, and assigned each role to a Public Group. Then, I created the sharing rules to grant read/write access to each group only if the Document_Type field has certain values. However, all users retain full access to all Document__c records regardless of their role. What am I doing wrong?
답변 5개