[License Compliance Widget Extension ] - Frontend - Only show Managed licenses button when user has Admin level role.
As part of the feature flag rollout in production for the new license compliance MR widget #367703 (closed) I discovered a small un-released bug in production when a user is not a admin level role. No URL is provided to the frontend when you cannot manage a license, which makes sense.
The fix is is to not show the Manage Licenses
button in the MR widget when a user does not have the correct permissions. The button would show but without a valid link. It was a no-op when you had the incorrect permission level.
When non admin roll
Before | After |
---|---|
When admin roll
Before | After |
---|---|
Edited by -