No, validation rule do not work on the record deletion. Validation rule only runs whenever a record is created or updated, till now Salesforce does not provide validation rules on record deletion. To Provide record deletion we can use before delete trigger.
1 .User A able to Edit the Record. Read only permission override by Read/write. 2. We Can't write validation on deletion of record. We can achieve with alternative methods Using Flow(before delete) throw custom error message, Using triggers (before delete event) 3. By Using Dataloader,Reports & Workbench we can export data.
1st question Ans- No, user cannot edit the record. Salesforce follow most restricted access rulewhen multiple setting are applied. In this case, sharing settings override the profile permission, that's why User A not able to edit the record. Even if, User A profile has edit permission, then user can only edit the record that he own. Since the record is shared with read-only access. User A cannot edit it.
We Can't write a validation rule on record deletion , you can do this by using the apex trigger .
What about flows ? Can we do this, give a thought
No, validation rule do not work on the record deletion. Validation rule only runs whenever a record is created or updated, till now Salesforce does not provide validation rules on record deletion. To Provide record deletion we can use before delete trigger.
What about flows , can we do that. Give a thought on this
1 .User A able to Edit the Record. Read only permission override by Read/write.
2. We Can't write validation on deletion of record. We can achieve with alternative methods Using Flow(before delete) throw custom error message, Using triggers (before delete event)
3. By Using Dataloader,Reports & Workbench we can export data.
1st question Ans- No, user cannot edit the record. Salesforce follow most restricted access rulewhen multiple setting are applied. In this case, sharing settings override the profile permission, that's why User A not able to edit the record. Even if, User A profile has edit permission, then user can only edit the record that he own. Since the record is shared with read-only access. User A cannot edit it.