allow verified users to insert or update?
I've successfully implemented the double opt in registration on my site, showcased in a WA video.
My scenario:
I have two catgories of user, i'll call them 'type 1 and 2'. A 'type' is selcted by the user during registration.
As part of the site functionality, type 2 (only) users are allowed to edit a portfolio.
Im considering one of two approaches to create a user portfolio;
1. add a record insert triggered on a type 2 users verifying their registration email
2. place a button on the user update page, which if clicked will insert a single record.
In each case however, only one record must exist (per registered verified email) - no dupes.
When created, thereafter, the verified type 2 user can and update their portfolio only, no inserting new records permitted.
Suggestions, welcome.
Paul