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

Add missing import

parent 1085f5f9
No related branches found
No related tags found
2 merge requests!8Resolve "Add payment processing UI",!6Add rules
Pipeline #59042 failed
...@@ -3,6 +3,8 @@ import rules ...@@ -3,6 +3,8 @@ import rules
from .models.base import Client from .models.base import Client
from .models.invoice import Invoice, InvoiceGroup from .models.invoice import Invoice, InvoiceGroup
from aleksis.core.util.predicates import has_person, has_global_perm, has_any_object
# View clients # View clients
view_clients_predicate = has_person & ( view_clients_predicate = has_person & (
has_global_perm("tezor.view_client") | has_any_object("tezor.view_client", Client) has_global_perm("tezor.view_client") | has_any_object("tezor.view_client", Client)
......
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