zalsaeed / cgav

Certificate Generation and Verification
GNU General Public License v3.0
3 stars 1 forks source link

Each user can view only certificate that they created #29

Closed wesamhamad closed 4 months ago

wesamhamad commented 4 months ago

Description: Currently, all users have access to view all certificates, regardless of who created them. This poses a security and privacy concern as users should only be able to view certificates that they have created.

Suggestion: Add a new column 'created_by' in the 'addCertificate' table to store the user ID of the creator for each certificate submitted via the add event form. This enhancement will ensure that each user can only view the certificates they have created, thereby improving security and privacy.