braks
9a43bfa787
refactor(nc-gui): use enum for role permission keys
2 years ago
braks
27791f5054
refactor(nc-gui): clean up permission types
2 years ago
braks
0a1e224273
fix(nc-gui): cleanup sidebar state on scope dispose
2 years ago
braks
ba8ee402dc
fix(nc-gui): auth tab constantly re-opening
...
* Only reload project if it's not loaded already
* Prevent tab from re-opening
2 years ago
Wing-Kam Wong
f97ea536b4
chore: move nc-gui-v2 to nc-gui
2 years ago
Pranav C
174c9a8957
fix(gui-v2): handle opening shared view/base opening in same window
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Wing-Kam Wong
fe6f1282e4
refactor(gui-v2): isUIAllowed
2 years ago
braks
e8de580842
refactor(gui-v2): project list page style fixes
2 years ago
braks
fb07bbacea
chore(gui-v2): cleanup typecheck issues
2 years ago
Pranav C
832362ba7c
feat(gui-v2): add preview as option
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
dcd5fba24e
Update index.ts
2 years ago
braks
9820ed6a20
chore(gui-v2): properly type rolePermission and remove unnecessary check
2 years ago
braks
f9d8389cec
chore(gui-v2): remove unnecessary typecast
2 years ago
braks
222539efee
fix(gui-v2): permission type not allowing wildcard
...
# What's changed?
* rename `RolePermissions` to `Permission`
* allow wildcard permission for creator and owner roles
2 years ago
Pranav C
6b883a004a
refactor(gui-v2): ui permission code correction, reduce modal size
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
braks
2520a8ed6c
feat(gui-v2): add proper role permissions type
2 years ago
braks
ec3b7af0ce
refactor(gui-v2): replace `useGlobalState` with `useGlobal`
...
# What's changed?
* `useGlobal` replaces `useGlobalState`
* split into actions, getters, state
* injects into nuxt app on init (regardless where it's called)
2 years ago
Pranav C
8f9152bff2
feat(gui-v2): sync column width with server
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
633da7b296
feat(gui-v2): Load project specific role and use it in ui permission composable
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago
Pranav C
7953923a28
feat: add isUIAllowed composable
...
Signed-off-by: Pranav C <pranavxc@gmail.com>
2 years ago