File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,29 @@ default can_update_supplier := false
34
34
35
35
default can_delete_supplier := false
36
36
37
+ # Policy 6z4vihwwdvdq
38
+ # - input.entity is type 'invoice'
39
+ can_read_invoice {
40
+ input.auth.authenticated == true
41
+ input.auth.principal.kind == " user"
42
+ input.auth.principal[" contentgrid:manage_invoices" ] == true
43
+ }
44
+ can_create_invoice {
45
+ input.auth.authenticated == true
46
+ input.auth.principal.kind == " user"
47
+ input.auth.principal[" contentgrid:manage_invoices" ] == true
48
+ }
49
+ can_update_invoice {
50
+ input.auth.authenticated == true
51
+ input.auth.principal.kind == " user"
52
+ input.auth.principal[" contentgrid:manage_invoices" ] == true
53
+ }
54
+ can_delete_invoice {
55
+ input.auth.authenticated == true
56
+ input.auth.principal.kind == " user"
57
+ input.auth.principal[" contentgrid:manage_invoices" ] == true
58
+ }
59
+ # End policy 6z4vihwwdvdq
37
60
# Policy zsn6mlr6y4tq
38
61
# - input.entity is type 'supplier'
39
62
can_read_supplier {
You can’t perform that action at this time.
0 commit comments