microsoft / azure-devops-extension-sdk

Client SDK for developing Azure DevOps extensions
MIT License
125 stars 39 forks source link

Display work-item-form-page only for certain users/teams #94

Open vladnega opened 11 months ago

vladnega commented 11 months ago

I would like to be able to display a work-item-form-page only for certain users/teams. Is that possible?

Here's my scenario: My custom ADO extension offers a service (let's call it "X") that is subscription based. Instead of all users seeing a new "X" tab on certain work items, I would like only the users that have subscribed to the "X" service to see that tab. Currently, if a user that is not subscribed to "X" navigates to the "X" tab, they would get a "Not authorized" error. It would be a lot better if they never saw that tab in the first place.

Thank you in advance! Vladimir