From 6bf0b21873da8cb1acdb7f9c840e7c3e1e863411 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Wed, 14 Oct 2020 11:55:15 -0400 Subject: [PATCH] fix effective permission API test --- tests/interfaces.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/interfaces.py b/tests/interfaces.py index f8212d8d3..64460ff46 100644 --- a/tests/interfaces.py +++ b/tests/interfaces.py @@ -1854,10 +1854,10 @@ def test_UserResourcePermissions_EffectiveResolution(self): rAM = PermissionSet(Permission.READ, Access.ALLOW, Scope.MATCH) # noqa rDR = PermissionSet(Permission.READ, Access.DENY, Scope.RECURSIVE) # noqa rDM = PermissionSet(Permission.READ, Access.DENY, Scope.MATCH) # noqa - wAR = PermissionSet(Permission.READ, Access.ALLOW, Scope.RECURSIVE) # noqa - wAM = PermissionSet(Permission.READ, Access.ALLOW, Scope.MATCH) # noqa - wDR = PermissionSet(Permission.READ, Access.DENY, Scope.RECURSIVE) # noqa - wDM = PermissionSet(Permission.READ, Access.DENY, Scope.MATCH) # noqa + wAR = PermissionSet(Permission.WRITE, Access.ALLOW, Scope.RECURSIVE) # noqa + wAM = PermissionSet(Permission.WRITE, Access.ALLOW, Scope.MATCH) # noqa + wDR = PermissionSet(Permission.WRITE, Access.DENY, Scope.RECURSIVE) # noqa + wDM = PermissionSet(Permission.WRITE, Access.DENY, Scope.MATCH) # noqa utils.TestSetup.create_TestUserResourcePermission(self, override_resource_id=svc1_id, override_permission=rAM) utils.TestSetup.create_TestUserResourcePermission(self, override_resource_id=res1_id, override_permission=wAM) utils.TestSetup.create_TestGroupResourcePermission(self, override_resource_id=res1_id, override_permission=rAR)