Upgrade action of principal ACLs for 0.9.0 fails when an ACL references a non-existant group

Description

If an entity ACL prior to v0.9.0 that contains a reference to a group that no longer exists in Kylo, the 0.9.0 upgrade action that updates the entity ACL with type-specific principals fails. The problem is that any generic principal found in the ACL that did not match known groups was assumed to be a user name; which is an incorrect assumption when the group is simply gone.

The fix is to test the generic principal name against both existing groups and users.

There may be a bug elsewhere that causes this situation in the first place.

Environment

None

Status

Assignee

Sean Felten

Reporter

Sean Felten

Reviewer

None

Story point estimate

None

Components

Sprint

None

Fix versions

Affects versions

Priority

High
Configure