Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide functionality from unprivileged users #540

Closed
leg100 opened this issue Jul 26, 2023 · 0 comments · Fixed by #548 or #547
Closed

Hide functionality from unprivileged users #540

leg100 opened this issue Jul 26, 2023 · 0 comments · Fixed by #548 or #547
Labels

Comments

@leg100
Copy link
Owner

leg100 commented Jul 26, 2023

Currently (in the UI) if a user lacks permissions to use certain functionality, e.g. manage team permissions, that functionality is still exposed but greyed out and/or tooltips are shown telling them they lack permissions (and tooltips are a bit shit because they reveal themselves only after a pause and even then not very prominently).

Instead, such functionality should just not be rendered.

@leg100 leg100 added the ui label Jul 26, 2023
leg100 added a commit that referenced this issue Aug 1, 2023
Hide rather than show and disable.

Fixes #540
leg100 pushed a commit that referenced this issue Aug 1, 2023
🤖 I have created a release *beep* *boop*
---


## [0.1.4](v0.1.3...v0.1.4)
(2023-08-01)


### Features

* more workspace VCS settings
([#545](#545))
([abfc702](abfc702))
* **ui:** hide functionality from unpriv persons
([#548](#548))
([fee491f](fee491f)),
closes [#540](#540)


### Miscellaneous

* downplay legitimate state not found errors
([2d91e31](2d91e31))
* remove demo
([d70c7fd](d70c7fd))
* **ui:** make workspace state tabs look nicer
([bbe38b4](bbe38b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant