-1

The user can belong to any profile or role. In future, any new user created with a new profile or with a new role, he/she will get delete permission automatically.

Please suggest a solution without code/trigger.

  • If I understand correctly, you requirement is Any user can delete any record of that custom object? – Pragati Jain Oct 13 '18 at 6:13
  • Right..................................... – Mohit Kumar Oct 15 '18 at 5:47
2

Without code/trigger here is the solution:

If anyone can access the record that means OWD for that object would be set to Public Read Only OR Public read/Write.

Now Go to all profiles-> Assign delete permission on the object and you are done. Now if anyone clone a new profile they will get this permission automatically also on that profile, until unless they remove it manually it will be there.

0

If your requirement is Any user can delete any record of that custom object, then create a queue and update records ownership to that queue and every user would be a member of that queue.That's how he/she would able to get delete permission on records of that object.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.