Check "Access entity usage statistics" perms in linkedUsage() method

Created on 24 April 2024, 7 months ago

Problem/Motivation

We don't allow our editors to see the usage tab. We do want them to be able to see the usage in a view we built. This will add a permission check to see if the current user has the "Access entity usage statistics" perms when creating the link. If they don't it will just return the count without the link.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States edmund.dunn Olympia, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024