Skip to content
Snippets Groups Projects
Verified Commit 5b49b668 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP

parent d862ec82
Branches
Tags
1 merge request!3F fsm
...@@ -473,7 +473,7 @@ def test_transfer_state_acl(): ...@@ -473,7 +473,7 @@ def test_transfer_state_acl():
rec.state = db.State(model="Model1", name="State1") rec.state = db.State(model="Model1", name="State1")
insert_rec = rec.insert(flags={"ACL": None}) insert_rec = rec.insert(flags={"ACL": None})
state_acl = db.ACL() state_acl = db.ACL().combine(db.get_global_acl())
state_acl.grant(role="role1", permission="UPDATE:DESCRIPTION") state_acl.grant(role="role1", permission="UPDATE:DESCRIPTION")
# the acl has been transfered from the state record # the acl has been transfered from the state record
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment