Hide self-hosted model action buttons for non-Duo Enterprise users
Problem
Currently, users with Duo Pro or Duo Core add-ons can access the admin model selection page and see self-hosted models, but they cannot create, update, or delete them due to backend restrictions implemented in !210969. This creates a confusing user experience where action buttons are visible but non-functional.
Proposal
Improve the UX by hiding the action buttons (Add, Edit, Delete) for self-hosted models when the user does not have an active Duo Enterprise add-on.
Expected Behavior
- Duo Enterprise users: Can see and interact with all self-hosted model action buttons
- Duo Pro/Core users: Can view the admin model selection page but should not see action buttons for self-hosted models
Related
Edited by 🤖 GitLab Bot 🤖