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: userroles and permissions #123

Merged
merged 67 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
623c059
feat: userroles api spec
Chakravarthy7102 Oct 12, 2023
ce75484
update api spec
Chakravarthy7102 Oct 13, 2023
4f4a7ac
update api spec
Chakravarthy7102 Oct 16, 2023
4deec30
feat: userroles and permissions
Chakravarthy7102 Oct 18, 2023
4e8d9ab
feat: added userroles and permissions api services
Chakravarthy7102 Oct 18, 2023
0b4d687
progress: add rest of the endpoints and skelliton UI
Chakravarthy7102 Oct 18, 2023
e57265d
test: test all the crud routes with frontend
Chakravarthy7102 Oct 19, 2023
4ffe185
feat: sidebar and new layout
Chakravarthy7102 Oct 19, 2023
9c151bf
feat: common table button and userroles table
Chakravarthy7102 Oct 19, 2023
a259950
feat: navbar
Chakravarthy7102 Oct 20, 2023
e4503a1
feat: dialog component
Chakravarthy7102 Oct 25, 2023
09f0c3c
feat: tags input box
Chakravarthy7102 Oct 25, 2023
a99caa5
feat: delete create user roles
Chakravarthy7102 Oct 25, 2023
59127f1
feat: update/edit permissions
Chakravarthy7102 Oct 26, 2023
c37f0df
feat: assign and remove roles to a user
Chakravarthy7102 Oct 27, 2023
dba0c25
fix: edit roles and permissions
Chakravarthy7102 Oct 27, 2023
20b5ae1
feat: delete update permissions
Chakravarthy7102 Oct 31, 2023
d8194d8
feat: mobile and tablet responsive code
Chakravarthy7102 Oct 31, 2023
643d7f1
chore: build files
Chakravarthy7102 Nov 2, 2023
078c77c
feat: handle recipe not initialized state and added alert component
Chakravarthy7102 Nov 2, 2023
a882c68
fix: user list navigation from sidebar
Chakravarthy7102 Nov 2, 2023
191421f
Fix warnings and infifity loop
Chakravarthy7102 Nov 8, 2023
fd00867
Merge branch 'master' of github.com:supertokens/dashboard into feat/u…
Chakravarthy7102 Nov 8, 2023
64c9d12
Merge branch 'master' of github.com:supertokens/dashboard into feat/u…
Chakravarthy7102 Nov 8, 2023
7b803da
Add Feature not enabled check to all apis and merging creation and up…
Chakravarthy7102 Nov 8, 2023
fdf6779
revert changes
Chakravarthy7102 Nov 8, 2023
aa29100
update api spec to have FEATURE_NOT_ENABLED response every endpoint
Chakravarthy7102 Nov 8, 2023
35177d8
Merge branch 'feat/userroles-apispec' of github.com:supertokens/dashb…
Chakravarthy7102 Nov 8, 2023
ed399c8
Added Pagination for roles and permissions
Chakravarthy7102 Nov 8, 2023
0bbebd2
change response type for roles api
Chakravarthy7102 Nov 8, 2023
4499f77
update get all roles api spec
Chakravarthy7102 Nov 9, 2023
9b02eb7
update assignroles pagination code
Chakravarthy7102 Nov 9, 2023
3e84cb9
bump v0.9.0 and update changelog
Chakravarthy7102 Nov 10, 2023
8196a87
Handle undefined api response cases
Chakravarthy7102 Nov 10, 2023
481d768
reset server index file and init userroles recipe.
Chakravarthy7102 Nov 10, 2023
d4f1e8e
fix: handle undefined return response and UI polish
Chakravarthy7102 Nov 10, 2023
e0e894d
refactor code
Chakravarthy7102 Nov 14, 2023
30fb351
build files
Chakravarthy7102 Nov 14, 2023
aaa9619
refactor more code
Chakravarthy7102 Nov 14, 2023
60f1db0
update rolesCount to totalRolesCount
Chakravarthy7102 Nov 15, 2023
8c59217
refactor more code
Chakravarthy7102 Nov 15, 2023
f49e3e2
update api spec
Chakravarthy7102 Nov 16, 2023
66f63b4
client side pagination
Chakravarthy7102 Nov 16, 2023
d0f3dcf
refactor code and remove extra code
Chakravarthy7102 Nov 17, 2023
206e43d
fix: remove unesssary code and improve readbility.
Chakravarthy7102 Nov 17, 2023
ca58cfd
resolve conflicts
Chakravarthy7102 Nov 17, 2023
e161626
rebuilding files after solving merge conflicts.
Chakravarthy7102 Nov 17, 2023
27cc554
fix: safari issues and change svg assests
Chakravarthy7102 Nov 17, 2023
488b212
review changes
Chakravarthy7102 Nov 20, 2023
0628fbc
cleanups and fix stuff
Chakravarthy7102 Nov 20, 2023
065a41b
build files
Chakravarthy7102 Nov 20, 2023
ac54b18
add refresh svg to images config
Chakravarthy7102 Nov 20, 2023
adea6d8
reset server index file
Chakravarthy7102 Nov 20, 2023
00b015f
reset connectionuri
Chakravarthy7102 Nov 20, 2023
bb9642e
fix: typo
Chakravarthy7102 Nov 20, 2023
1e3e97d
fix: loading states
Chakravarthy7102 Nov 21, 2023
7c262d4
add dropdown to apply roles in diffrent tenants
Chakravarthy7102 Nov 21, 2023
242b57a
fix: laoding issues
Chakravarthy7102 Nov 21, 2023
025d2f7
reset index file
Chakravarthy7102 Nov 21, 2023
f11d5dd
reset initial state
Chakravarthy7102 Nov 21, 2023
a6d640b
remove extra code
Chakravarthy7102 Nov 22, 2023
0c18fa8
remove redundent code
Chakravarthy7102 Nov 22, 2023
a306aef
fix: edit api spec with tenantId's
Chakravarthy7102 Nov 22, 2023
8f67045
update PR template with user roles and permissions test cases
Chakravarthy7102 Nov 23, 2023
d3cc14b
update note
Chakravarthy7102 Nov 23, 2023
dc5ad97
Merge branch 'feat/userroles' of github.com:supertokens/dashboard int…
Chakravarthy7102 Nov 23, 2023
eeeb122
Merge pull request #121 from supertokens/feat/userroles-apispec
Chakravarthy7102 Nov 23, 2023
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.9.0] - 2023-11-10

- Adds user roles and permissions feature to dashboard.

## [0.8.5] - 2023-10-5

- Fixes showing email verification UI even though it's not initialised.
Expand Down
11 changes: 11 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@
"static/media/favicon.ico": "/static/media/favicon.ico",
"static/media/ST_icon_light_theme.svg": "/static/media/ST_icon_light_theme.svg",
"static/media/ST_full_logo_dark_theme.svg": "/static/media/ST_full_logo_dark_theme.svg",
"static/media/secuity-key.svg": "/static/media/secuity-key.svg",
"static/media/ST_full_logo_light_theme.svg": "/static/media/ST_full_logo_light_theme.svg",
"static/media/ST_icon_dark_theme.svg": "/static/media/ST_icon_dark_theme.svg",
"static/media/auth-method.svg": "/static/media/auth-method.svg",
"static/media/logo.svg": "/static/media/logo.svg",
"static/media/plus-square.svg": "/static/media/plus-square.svg",
"static/media/roles-and-permissions.svg": "/static/media/roles-and-permissions.svg",
"static/media/no-results.svg": "/static/media/no-results.svg",
"static/media/email.svg": "/static/media/email.svg",
"static/media/user-managment.svg": "/static/media/user-managment.svg",
"static/media/lock.svg": "/static/media/lock.svg",
"static/media/checkmark-green.svg": "/static/media/checkmark-green.svg",
"static/media/plus.svg": "/static/media/plus.svg",
"static/media/green-check.svg": "/static/media/green-check.svg",
"static/media/clear.svg": "/static/media/clear.svg",
"static/media/provider-apple.svg": "/static/media/provider-apple.svg",
"static/media/search.png": "/static/media/search.png",
Expand All @@ -37,6 +44,7 @@
"static/media/trash-opened.svg": "/static/media/trash-opened.svg",
"static/media/checkmark.svg": "/static/media/checkmark.svg",
"index.html": "/index.html",
"static/media/loader.svg": "/static/media/loader.svg",
"static/media/star_sparkle.svg": "/static/media/star_sparkle.svg",
"static/media/close.svg": "/static/media/close.svg",
"static/media/copy.svg": "/static/media/copy.svg",
Expand All @@ -53,10 +61,13 @@
"static/media/chevron-up-selected.svg": "/static/media/chevron-up-selected.svg",
"static/media/chevron-right.svg": "/static/media/chevron-right.svg",
"static/media/people.svg": "/static/media/people.svg",
"static/media/hamburger-menu.svg": "/static/media/hamburger-menu.svg",
"static/media/provider-facebook.svg": "/static/media/provider-facebook.svg",
"static/media/Union-yellow.png": "/static/media/Union-yellow.png",
"static/media/Union.png": "/static/media/Union.png",
"static/media/checkmark-yellow.svg": "/static/media/checkmark-yellow.svg",
"static/media/spinner.svg": "/static/media/spinner.svg",
"static/media/cross.svg": "/static/media/cross.svg",
"static/media/triangle-down.svg": "/static/media/triangle-down.svg",
"main.css.map": "/static/css/main.css.map",
"bundle.js.map": "/static/js/bundle.js.map",
Expand Down
4 changes: 2 additions & 2 deletions build/static/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/css/main.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/static/js/bundle.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions build/static/js/bundle.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ object-assign
* LICENSE file in the root directory of this source tree.
*/

/**
* React Router DOM v6.3.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/**
* React Router v6.3.0
*
Expand Down
2 changes: 1 addition & 1 deletion build/static/js/bundle.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions build/static/media/cross.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions build/static/media/green-check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions build/static/media/hamburger-menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions build/static/media/loader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions build/static/media/no-results.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions build/static/media/plus-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions build/static/media/plus.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions build/static/media/roles-and-permissions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions build/static/media/secuity-key.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/static/media/spinner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading