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

feat: Custom Roles #2481

Open
wants to merge 87 commits into
base: stage
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
99cc2e9
task: add roles and permissions to nav bar
finnar-bin Sep 25, 2024
9bdb37d
task: update header
finnar-bin Sep 30, 2024
6ec0c38
task: api call to fetch users with roles
finnar-bin Sep 30, 2024
48f71b2
task: no permissions component
finnar-bin Oct 3, 2024
98ed0f8
task: page loading
finnar-bin Oct 3, 2024
2ad3fbc
task: update render logic
finnar-bin Oct 3, 2024
761d969
task: update header styling
finnar-bin Oct 3, 2024
a6130ed
task: render base roles
finnar-bin Oct 4, 2024
79d34e4
task: no custom roles component
finnar-bin Oct 4, 2024
d1e3a0e
task: get and set base/custom roles
finnar-bin Oct 4, 2024
2a59cd9
task: create custom roles component
finnar-bin Oct 4, 2024
740d6cc
task: add base for create custom role dialog
finnar-bin Oct 4, 2024
2726f91
task: add form fields
finnar-bin Oct 4, 2024
ab22093
task: prevent setting owner as base role
finnar-bin Oct 4, 2024
8ba1d3c
task: custom role permision details
finnar-bin Oct 4, 2024
3a74f87
task: add publish permission
finnar-bin Oct 4, 2024
cce96f1
task: render base roles from api
finnar-bin Oct 9, 2024
6561d56
chore: cleanup
finnar-bin Oct 9, 2024
681fcad
task: add new roles
finnar-bin Oct 9, 2024
69353f1
task: show all possible base role options
finnar-bin Oct 9, 2024
eb81d84
task: create edit role component
finnar-bin Oct 9, 2024
fb129c8
task: add borders
finnar-bin Oct 9, 2024
088bc44
task: create details tab
finnar-bin Oct 9, 2024
91b0905
task: create base permissions page
finnar-bin Oct 9, 2024
8d284a1
task: update dialog height and table borders
finnar-bin Oct 9, 2024
0b52a2e
chore: setup typescript
finnar-bin Oct 10, 2024
26a10a1
task: create base permissions page
finnar-bin Oct 10, 2024
4839fd1
task: convert to typescript files
finnar-bin Oct 10, 2024
e718a72
task: wire create role
finnar-bin Oct 10, 2024
218826a
task: move data fetching to zustand
finnar-bin Oct 10, 2024
8b48de0
task: move api calls to zustand store
finnar-bin Oct 10, 2024
be8f41e
task: add granular role
finnar-bin Oct 11, 2024
7911836
task: add resource selector component
finnar-bin Oct 14, 2024
724e042
task: fetch languages
finnar-bin Oct 14, 2024
15de343
task: add loading component
finnar-bin Oct 14, 2024
50ba451
task: show granular roles list
finnar-bin Oct 14, 2024
3f6985c
task: add granular role update handler
finnar-bin Oct 14, 2024
ddb7e36
task: move granular role state to parent
finnar-bin Oct 15, 2024
71810f5
task: table style
finnar-bin Oct 15, 2024
8980f81
task: only render resource as text
finnar-bin Oct 15, 2024
784ae0f
task: prevent reselecting resource twice
finnar-bin Oct 15, 2024
df646dd
task: show lang code
finnar-bin Oct 15, 2024
09f1668
task: show icon and lang code in autocomplete input field
finnar-bin Oct 15, 2024
993ab11
task: add actions column
finnar-bin Oct 15, 2024
6d0c91a
task: disable add rule button when no resource zuid is selected
finnar-bin Oct 15, 2024
3f73021
task: sanitize role description and name
finnar-bin Oct 15, 2024
08168b8
task: add update role endpoint
finnar-bin Oct 15, 2024
c3faf5b
task: set loading indicator
finnar-bin Oct 16, 2024
596733f
task: sync changes in granular roles in the table
finnar-bin Oct 16, 2024
4e29763
task: block role creation when required data is missing
finnar-bin Oct 16, 2024
c294388
task: wire update role details
finnar-bin Oct 16, 2024
4b41c1d
task: wire update/add new granular role
finnar-bin Oct 16, 2024
eafdbbf
task: wire delete granular role
finnar-bin Oct 16, 2024
ea41df5
task: perform all api calls together on save click
finnar-bin Oct 16, 2024
40ca5f4
fix: table reshuffles and causes date to be shown incorrectly
finnar-bin Oct 16, 2024
5d2b9dc
task: add user input field
finnar-bin Oct 16, 2024
eeaecac
task: user management config
finnar-bin Oct 17, 2024
d9f6d01
task: create delete role component
finnar-bin Oct 17, 2024
6d7e45d
task: wire full create role flow
finnar-bin Oct 17, 2024
3945b85
task: wire search custom roles
finnar-bin Oct 18, 2024
61ea143
task: filter granular roles
finnar-bin Oct 18, 2024
506a366
task: wire search granular role
finnar-bin Oct 18, 2024
9430d3c
task: make sure SWAL is on top of MUI dialogs
finnar-bin Oct 21, 2024
66d9500
task: move error handling to components
finnar-bin Oct 21, 2024
af9e827
task: move error handling to components
finnar-bin Oct 21, 2024
fce0dbc
task: enable updating role base role
finnar-bin Oct 22, 2024
3a642ee
task: fix alignment and transform values to lowercase
finnar-bin Oct 22, 2024
8ed366e
task: only allow users to create a new role based off of the instance…
finnar-bin Oct 22, 2024
8dc0cf4
task: wire user management flow
finnar-bin Oct 22, 2024
54f12f3
fix: make sure opened menu is of the correct instance
finnar-bin Oct 23, 2024
449808a
task: wire delete role
finnar-bin Oct 28, 2024
1f85442
task: update base roles desc and icon
finnar-bin Oct 28, 2024
a6d3fad
task: sort base roles
finnar-bin Oct 28, 2024
0ce9c34
task: update permissions
finnar-bin Oct 28, 2024
d85f7c5
task: required fields
finnar-bin Oct 28, 2024
de507de
task: show field errors in details tab
finnar-bin Oct 29, 2024
acf4a26
task: do not reject when role name is empty
finnar-bin Oct 29, 2024
3857b77
task: nav to tab if an error occured
finnar-bin Oct 29, 2024
437d909
task: show field error on create role
finnar-bin Oct 29, 2024
a46fe00
task: update tooltips
finnar-bin Oct 29, 2024
8a45aa7
task: show list of emails that are non-instance members
finnar-bin Oct 29, 2024
b92c83b
task: clear resource zuids to delete on api call success & do not do …
finnar-bin Oct 29, 2024
a2be53c
fix: fix incorrect spread syntax
finnar-bin Oct 29, 2024
2b637db
fix: fixed incorrect spread syntax
finnar-bin Oct 29, 2024
47188d7
task: update zesty-io/material
finnar-bin Nov 4, 2024
e306fce
task: sync lock file to package.json
finnar-bin Nov 4, 2024
0157d99
fix: remove unneccessary code
finnar-bin Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
Loading
Loading