Skip to content
Snippets Groups Projects
Verified Commit d9b4c8cf authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add rule which checks if user has a person

parent 7f1a59aa
Branches has-person
No related tags found
No related merge requests found
......@@ -13,6 +13,9 @@ from .util.predicates import (
add_perm("core", always_allow)
# Has person
add_perm("core.has_person", has_person)
# View dashboard
add_perm("core.view_dashboard", has_person)
......
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