Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
1 participant