Inviting or removing a master now asks who you are, and the other masters hear about it
Inviting someone, removing someone and deleting your workspace now ask you to confirm it's you unless you signed in within the last ten minutes. When a master is invited, joins or is removed, every master gets an email.
Since today, inviting someone to your Wegweiser workspace, by hand or in a bulk import, removing someone from it and deleting the workspace ask you to confirm it's you first, unless you signed in within the last ten minutes. It is the same confirmation as for changing your password, which I wrote about this morning.
The reason is the same as well. Somebody with a copy of a master's session cookie could invite a master of their own, accept it, and keep an account in your workspace long after you changed your password and threw the stolen session out. They could also remove the real masters, or delete the whole workspace, because typing the workspace name to confirm a deletion proves nothing when everybody inside can read the name off the page.
Since a confirmation alone tells nobody else, every master now gets an email when a master is invited, when somebody accepts an invitation as a master and when a master is removed, and the person who was removed gets one too. The mail to the other masters names who did it, and if it is a surprise it says to ask that person by phone or in person. When a workspace is deleted every master of it is told who deleted it, and the mail says to write to support at once if nobody expected it. The master whose account did it gets the mail as well, as a receipt, because in a workspace with only one master nobody else would hear, and if you get one for something you didn't do, somebody else has your session.
This came out of the work on protecting the Shell. A tap of a passkey before every Shell session, which isn't built yet, would mean little if a stolen session could simply invite a new master and give that one a passkey, so this had to come first. For now it is the ten-minute confirmation, and a passkey for these is planned as well.