diff --git a/aleksis/apps/alsijil/rules.py b/aleksis/apps/alsijil/rules.py index 6396d7f9966a83ac3fec4c61e96954a0c453eb87..c9321c4e1693414142f703b6a69d0d601c5b444b 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)