HangarMC / Hangar

A plugin repository used for paper plugins
https://hangar.papermc.io/
MIT License
249 stars 65 forks source link

Permissions on organisation being displayed wrongly after getting Admin on sub project #1356

Open FlorianMichael opened 3 months ago

FlorianMichael commented 3 months ago

Observed/problematic behavior

On our organisation ViaVersion I have the admin role on the sub project ViaRewind and Developer on the main organisation, however, everything I am on the ViaRewind page and go back to the main organisation page it's getting displayed as this: image

Indicating me having admin permissions on the whole organisation (although editing anything doesn't work)

Expected behavior

Website shouldn't indicate more permissions than I actually have.

Steps to reproduce

  1. Create an organisation
  2. Add someone to it and give them Developer
  3. Make a sub project and give them Admin on it
  4. Do the above mentioned

Other

Link: https://hangar.papermc.io/ViaVersion