From 4ce2f988daae3e30864c73bb44f105f829e1d460 Mon Sep 17 00:00:00 2001
From: Hangzhi Yu <hangzhi@protonmail.com>
Date: Thu, 6 Aug 2020 21:43:30 +0200
Subject: [PATCH] Revert "Fix rules"

This reverts commit 6da0a1a0
---
 aleksis/apps/alsijil/rules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aleksis/apps/alsijil/rules.py b/aleksis/apps/alsijil/rules.py
index 6396d7f99..c9321c4e1 100644
--- a/aleksis/apps/alsijil/rules.py
+++ b/aleksis/apps/alsijil/rules.py
@@ -91,7 +91,7 @@ add_perm("alsijil.view_week_personalnote", view_week_personal_notes_predicate)
 
 # View register absence page
 view_register_absence_predicate = has_person & (
-    has_any_object("core.register_absence_person", Person)
+    has_any_object("alsijil.register_absence", Person)
 )
 add_perm("alsijil.view_register_absence", view_register_absence_predicate)
 
-- 
GitLab