2
0
mirror of https://github.com/status-im/consul.git synced 2025-03-01 22:00:42 +00:00
John Cowen 5e34d89f7f
ui: Hide create buttons for policies/roles/namespaces with readonly access ()
This PR adds a check to policy, role and namespace list pages to make sure the user has can write those things before offering to create them via a button. (The create page/form would then be a read-only form)
2021-09-27 17:20:44 +01:00

4 lines
131 B
Plaintext

```release-note:bug
ui: hide create button for policies/roles/namespace if users token has no write permissions to those areas
```