cedenoc181 / prohealthportal.com

0 stars 0 forks source link

Nest patient, dr and mefiles tables into the routes resources nested inside user model #3

Open cedenoc181 opened 3 weeks ago

cedenoc181 commented 3 weeks ago

Nesting the patient, dr and medifles table into the user resources in routes will allow crud capabilities in the user admin account to be able to create new patient, dr and medifile templates/files from the client ui. Make sure Admin is the only user that is allowed to perform CRUD on these.

cedenoc181 commented 1 week ago

I made crud available for these models only if user is admin.