We're updating the issue view to help you get more done. 

Entity "access level" may be below "visibility level" in some cases

Description

In some cases (e.g. for guest users?) entity access level may be "none" while visibility level is "matchable". This does not make sense, since if visibility is matchable access level should also be at least matchable.

1 2 3 4 5 6 7 8 9 10 @Inject @Named("secure") protected EntityPermissionsManager permissions; ... EntityAccess entityAccess = this.permissions.getEntityAccess(match); AccessLevel access = entityAccess.getAccessLevel(); Visibility visibility = entityAccess.getVisibility(); logger.error("Match access: [{}], match visibility: [{}]", access.getName(), visibility.getName());

results in

1 Match access: [none], match visibility: [matchable]

Environment

None

Status

Assignee

Sergiu Dumitriu

Reporter

Andrew Misyura

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

1.4.4

Priority

Medium