AUTOMATICALLY UPGRADING A USER'S MEMBER ROLE UPON FILLING OUT A DATASET ENTRY

(Thanks in advance for anyones help!)
Hi all,

Looking to code an automated response where upon receiving four dataset entries from a user, their user role changes from say basic type → full access. Any ideas on how to translate this into code?

Am using this in the context of requiring users to review four items before accessing others reviews if anyone is wondering. Thanks a lot for your time