You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by di...@apache.org on 2022/09/01 16:45:27 UTC

[allura] 02/03: fixup! [#8458] auditlog: record unblocking user from permission

This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/8458
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 56973b8e177762a008a6cc6eedcbb9b2ac94e147
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Thu Sep 1 16:42:54 2022 +0000

    fixup! [#8458] auditlog: record unblocking user from permission
---
 Allura/allura/app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/app.py b/Allura/allura/app.py
index 8264add2c..81ccd13e5 100644
--- a/Allura/allura/app.py
+++ b/Allura/allura/app.py
@@ -871,7 +871,7 @@ class DefaultAdminController(BaseController, AdminControllerMixin):
         ace = model.ACE.deny(model.ProjectRole.by_user(user, upsert=True)._id, perm, reason)
         if not model.ACL.contains(ace, self.app.acl):
             self.app.acl.append(ace)
-            model.AuditLog.log('{}: blocked user "{}" from permission "{}" for reason "{}"'.format(
+            model.AuditLog.log('{}: blocked user "{}" from permission "{}" for reason: "{}"'.format(
                 self.app.config.options['mount_point'],
                 username,
                 ace.permission,