Open jue-henry opened 4 months ago
Currently the GetImages, GetImageById, and GetImageCount APIs do not have any permissions checking. We need to add this additional check for the correct project to /src/api/db/models/utils.js's hasRole function
/src/api/db/models/utils.js
Currently the GetImages, GetImageById, and GetImageCount APIs do not have any permissions checking. We need to add this additional check for the correct project to
/src/api/db/models/utils.js
's hasRole function