Skip to content

Commit

Permalink
Merge PR OCA#2675 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 20, 2023
2 parents 6185198 + 9635d4c commit 8c2c136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_notify/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _notify_channel(
sticky=False,
target=None,
):
if not self.env.user._is_admin() and any(
if not (self.env.user._is_admin() or self.env.su) and any(
user.id != self.env.uid for user in self
):
raise exceptions.UserError(
Expand Down

0 comments on commit 8c2c136

Please sign in to comment.