Permission - restrict delete

Hi, I would like to set up a condition that allows users in a specific permission group to delete only the records they have created, while preventing them from deleting records created by other users.

In the table, I am using the system field Created By. In the permission role, delete access is enabled for this table, and I have added the condition: doo.model.createdBy === doo.currentUser.login`

However, this condition does not work as expected, and users are still able to delete any records.

Could you please advise whether this type of conditional delete restriction is supported and, if so, what the correct approach or syntax should be?