Still able to see history action in datamanager grid if versioning is disabled

Description

if "versioned = false" on a preside object, the "view history" grid action is still visible in the datamanager. If clicking on it an error notification banner is shown ("not found").
I guess that the datamanager handler only checks if the operation is allowed and the user has sufficient permissions, but not whether versioning is enabled/disabled.

Environment

None

Assignee

Seb Duggan

Reporter

Jan Jannek

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure