From 0e1166d266671a198e6f2010e6978dfb5a226563 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Tue, 13 Aug 2019 13:53:49 +0000 Subject: Update git submodules * Update docs/submodules/policy/engine.git from branch 'master' to 102d5151bc603961ebd2b232f97edb313f70b138 - Merge "Fix issue for policies not loading on GUI push tab" - Fix issue for policies not loading on GUI push tab - found the problem to be with a line of code to add all the scopes from the role to a Set of scopes. when the scopes attribute in the role object is null it logs an exception and fails to load policies. I added a new method to check the value of the roles.getScopes() for null and only attempt to add the scope to the set if it is not null - I created a separate method to do this in order to avoid an increase in technical debt as it would have added to the complexity if I kept it in the same method. - PATCH 4: Added scopes to the method arguments in order to avoid overwriting scopes that are added in prevous interations of the loop. - PATCH 5: removed redundant scopes assignment per Jorge's review. Change-Id: Ifcc8775d3db8ecc722ee6806310a58ecb4e15856 Issue-ID: POLICY-1981 Signed-off-by: Michael Mokry --- docs/submodules/policy/engine.git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/submodules/policy') diff --git a/docs/submodules/policy/engine.git b/docs/submodules/policy/engine.git index 80133d27f..102d5151b 160000 --- a/docs/submodules/policy/engine.git +++ b/docs/submodules/policy/engine.git @@ -1 +1 @@ -Subproject commit 80133d27f21e27c8da4b3e8d635fb2c05f2f7721 +Subproject commit 102d5151bc603961ebd2b232f97edb313f70b138 -- cgit 1.2.3-korg