even less clutter!
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
Philipp Hofer 2025-05-05 20:44:00 +02:00
parent bb78441cc4
commit 8e40e563c6

View File

@ -414,12 +414,14 @@ impl User {
.await .await
.unwrap(); .unwrap();
ActivityBuilder::new(&format!( if !role.hide_in_lists && role.cluster.is_none() {
"{updated_by} hat die Rolle {role} von {self} entfernt." ActivityBuilder::new(&format!(
)) "{updated_by} hat die Rolle {role} von {self} entfernt."
.relevant_for_user(self) ))
.save(db) .relevant_for_user(self)
.await; .save(db)
.await;
}
Ok(()) Ok(())
} }