eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
https://eveseat.github.io/docs/
GNU General Public License v2.0
430 stars 143 forks source link

Unauthorized Request clicking on someone character #781

Open muzixa opened 3 years ago

muzixa commented 3 years ago

Hi.

A member with no permissions to characters sheet have "Unauthorized Request" error clicking on char name. It's no matter where from doing this. image

For example character have access to corporation sheet so he see the list of all registered corporations and it's CEOs: image

When clicking from this char on any corporation name it's returns corporation sheet with only public info, and it's ok: image

But if click on character name (eg CEO name in corporation list) it's returns "Unauthorized Request" image

Then i was trying to let this char permission to character sheet (assuming there will be only public info): image

But with this permission he can see a lot more information about char then only public (eg current ship, clone etc.): image

So is there any way to do something with this to fix "Unauthorized Request error" if character have no access to character sheet or show only character public info? Im understand that permissions on character sheet assuming clones, current ship etc info and it will be hard to fix, but corporation sheet works fine in similar situation with limited info if there is no access to (no divisions etc)

Or maybe just do character name unclickable in case when there are no access to see char sheet.