When an admin opens Calendar/get on another account, every calendar comes back with full myRights, because Impersonate makes the admin a member of the whole account. So if that account shared one calendar with the admin, clients list all of its calendars as shared, including the ones that weren't.
Repro: Alice shares "Team" with Bob, who is an admin. Calendar/get on Alice's account as Bob reports full rights on her unshared default calendar too, and the webmail shows it under Alice's shared calendars.
myRights should reflect the share's ACL, not the admin override. The same per-calendar check would also let us skip the accountAccess audit record when an admin is only using a real share (that's logged now since GHSA-m992-gp7g-wc2j, which is the safe side but noisy).
When an admin opens Calendar/get on another account, every calendar comes back with full myRights, because Impersonate makes the admin a member of the whole account. So if that account shared one calendar with the admin, clients list all of its calendars as shared, including the ones that weren't.
Repro: Alice shares "Team" with Bob, who is an admin. Calendar/get on Alice's account as Bob reports full rights on her unshared default calendar too, and the webmail shows it under Alice's shared calendars.
myRights should reflect the share's ACL, not the admin override. The same per-calendar check would also let us skip the accountAccess audit record when an admin is only using a real share (that's logged now since GHSA-m992-gp7g-wc2j, which is the safe side but noisy).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When an admin opens Calendar/get on another account, every calendar comes back with full myRights, because Impersonate makes the admin a member of the whole account. So if that account shared one calendar with the admin, clients list all of its calendars as shared, including the ones that weren't.
Repro: Alice shares "Team" with Bob, who is an admin. Calendar/get on Alice's account as Bob reports full rights on her unshared default calendar too, and the webmail shows it under Alice's shared calendars.
myRights should reflect the share's ACL, not the admin override. The same per-calendar check would also let us skip the accountAccess audit record when an admin is only using a real share (that's logged now since GHSA-m992-gp7g-wc2j, which is the safe side but noisy).