Vatsim-Scandinavia / controlcenter

Training Management System created by VATSIM Scandinavia
https://docs.vatsca.org/controlcenter/
GNU General Public License v3.0
16 stars 14 forks source link

Links to VATEUD Core Profile gives 401 #907

Open Atriusftw opened 2 months ago

Atriusftw commented 2 months ago

Environment CC Version: v5.2.5 Host type: N/A

Describe the bug Clicking the links to VATEUD Profile uses a link that isn't available, and gives a 401 error. I've found this link under /user and /training so far.

How to reproduce Steps to reproduce the behavior:

  1. Go to cc.vatsim-scandinavia.org
  2. Click on your name in the top right corner
  3. Hover over your CID under User Details
  4. Click the globe to navigate to your VATEUD Profile
  5. See error

Expected behavior It is expected to see your VATEUD profile.

Screenshots

image

Additional context Used link is https://core.vateud.net/manage/controller/<cid>/view. Expected URL is probably https://core.vateud.net/my/profile.

blt950 commented 2 months ago

Thanks for the report. This seems more like a shortcut that you as user/mentor should not be able to see, as the link is only accessible by training staff in EUD Core.

Changing it to https://core.vateud.net/my/profile will be incorrect as it's not the same type of page. I think I'll just fix so the link is only visible to relevant users.