As requested in post-merge review
https://github.com/systemd/systemd/pull/32869#pullrequestreview-
2068161094:
> NotInControl error is really about session controllers, but this here really
> is different.
return r;
if (session != sender_session)
- return sd_bus_error_set(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session");
+ return sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED,
+ "Refused to release session, since it doesn't match the one of the client");
r = session_release(session);
if (r < 0)