Skip to content
Snippets Groups Projects
Verified Commit 6da0a1a0 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix rules

parent 4daa50e1
No related branches found
No related tags found
1 merge request!49Resolve "Add rules and permissions"
Pipeline #3250 passed
...@@ -91,7 +91,7 @@ add_perm("alsijil.view_week_personalnote", view_week_personal_notes_predicate) ...@@ -91,7 +91,7 @@ add_perm("alsijil.view_week_personalnote", view_week_personal_notes_predicate)
# View register absence page # View register absence page
view_register_absence_predicate = has_person & ( view_register_absence_predicate = has_person & (
has_any_object("alsijil.register_absence", Person) has_any_object("core.register_absence_person", Person)
) )
add_perm("alsijil.view_register_absence", view_register_absence_predicate) add_perm("alsijil.view_register_absence", view_register_absence_predicate)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment