microsoft / microsoft/AzureTRE
Connect action is missing from resource detail pages for researchers
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 235
- Forks
- 192
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
Description
A resource with a valid connection_uri displays Connect on its list card, but the same action can be missing from the resource detail page for a Workspace Researcher.
This was observed with a pooled Azure Virtual Desktop workspace service, but the cause is in the shared resource UI rather than the AVD template.
Current behavior
ResourceCarddisplays Connect whenconnection_uriis present.- On the detail page,
ResourceHeaderrenders connection and management actions throughResourceContextMenu. - The shared context menu is restricted to resource owners/administrators because it also contains Update, Disable, and Delete.
- A Workspace Researcher can therefore connect from the list card but has no Connect action after opening the resource details.
Expected behavior
Users who can access a resource should be able to use its external connection URI consistently from both the list card and the detail page. Management actions must remain restricted to the existing owner/administrator roles.
Suggested approach
Render Connect as a separate detail-header action, independently of the owner-only management menu. Keep Update, Disable, and Delete under the existing authorization rules. Use the same connection eligibility rules as the list card, including connection_uri and is_exposed_externally behavior.
Steps to reproduce
- Deploy a workspace service that returns a valid external
connection_uri(for example, a pooled AVD service). - Sign in as a Workspace Researcher who is not the resource owner.
- Confirm that Connect appears on the resource list card.
- Open the resource detail page.
- Observe that no Connect action is available.
Acceptance criteria
- Workspace Researchers can use Connect from a resource detail page when the resource exposes a valid external
connection_uri. - Connect behavior is consistent between list cards and detail pages.
- Update, Disable, and Delete remain restricted to their current authorized roles.
- Resources without an eligible connection URI do not display Connect.
- Automated UI tests cover researcher and owner behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate ResourceCard, ResourceHeader, and ResourceContextMenu, then compare the detail-page action path with the list-card connection eligibility logic. Add automated UI coverage for Workspace Researchers and owners, including eligible and ineligible connection_uri cases. Done means Connect is available consistently while Update, Disable, and Delete retain their current restrictions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- authorization, frontend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100