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

WIP

parent d862ec82
No related branches found
No related tags found
1 merge request!3F fsm
......@@ -473,7 +473,7 @@ def test_transfer_state_acl():
rec.state = db.State(model="Model1", name="State1")
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")
# 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.
Finish editing this message first!
Please register or to comment