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();
if !role.hide_in_lists && role.cluster.is_none() {
ActivityBuilder::new(&format!( ActivityBuilder::new(&format!(
"{updated_by} hat die Rolle {role} von {self} entfernt." "{updated_by} hat die Rolle {role} von {self} entfernt."
)) ))
.relevant_for_user(self) .relevant_for_user(self)
.save(db) .save(db)
.await; .await;
}
Ok(()) Ok(())
} }