microsoft / microsoft/AzureTRE

Researcher should only see workspace description, history and calls to /operations should be removed

Open
#2,431 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

api ui
Dominant language
Python
Stars
235
Forks
192
Avg merge
1d 23h
Merged PRs (30d)
13

Description

When a user with a WorkspaceResearcher role on a workspace attempts to open the workspace in the UI, they will get a number of 403s:

Image

This is due to the UI trying to query the shared-services and workspace/operations, which the API restricts access to based on their role. The UI should not make these calls and instead present a simplified view of the workspace as per https://www.figma.com/file/Ncl8TJsFf2WKf3frrqTbtq/AzureTRE-OSS-UI?node-id=431%3A22000

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the UI requests to shared-services and workspace/operations when a WorkspaceResearcher opens a workspace. Compare the resulting view with the linked Figma design. Done means the researcher sees only the workspace description and history without the forbidden calls or resulting 403s.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.