objectcomputing / check-ins

Other
7 stars 6 forks source link

Skills Report not working for non admins #2535

Open oschwaldp-oci opened 3 months ago

oschwaldp-oci commented 3 months ago

Describe the bug Skills Report not working for non admins

To Reproduce Steps to reproduce the behavior:

  1. Go to https://checkins.objectcomputing.com/skills-reports
  2. nothing populates on page

Expected behavior Not sure exactly what it is supposed to look like, but more than a blank page I'm hoping.

Screenshots Attached CheckIns-BlankSkillsReport

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ocielliottc commented 3 days ago

@mkimberlin Routes.jsx is set up so that there is no route to /skills-reports if the user is not an admin. So, if you go directly to that link, it displays a blank page (as it will with all other report links). What do we want to do with this?

mkimberlin commented 3 days ago

@ocielliottc adjust it to respect the appropriate permissions and not the admin role