Commit Graph

2740 Commits

Author SHA1 Message Date
Nate Kelley 221a4a6280
finalize permission popup
Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-17 10:50:10 -07:00
Nate Kelley 43c96cbb09
Merge branch 'staging' into dallin/bus-920-feature-finish-rest-of-permissions 2025-01-17 09:57:57 -07:00
Nate Kelley 7d83163d78
Big nate/bus 924 make additional permissions pages (#50)
* create virtua list component

* only debounce if there is text

* prefetch on demand

* add a popup for permissions

* Update web/src/components/list/BusterList/BusterListReactWindow.tsx

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-17 08:57:24 -08:00
Nate Kelley 48436e5c18
Update web/src/components/list/BusterList/BusterListReactWindow.tsx
Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-17 09:56:35 -07:00
Nate Kelley 855ca2ee87
Merge branch 'staging' into big-nate/bus-924-make-additional-permissions-pages 2025-01-17 09:52:05 -07:00
Nate Kelley e7f08f9997
Merge branch 'staging' into dallin/bus-920-feature-finish-rest-of-permissions 2025-01-17 09:47:08 -07:00
Nate Kelley 7dd102a06f
Merge branch 'staging' into dallin/bus-920-feature-finish-rest-of-permissions 2025-01-17 09:46:23 -07:00
Nate Kelley e5f8e4fb63
Make users page (#39)
* create users pages

* abstract more components to correct folders

* carve out expection if we are hiding the select all

* user query

* Add ability to change default access

* Update package-lock.json

* Update package-lock.json
2025-01-17 08:46:13 -08:00
Nate Kelley cbaa73046d
update package versions 2025-01-17 09:31:47 -07:00
Nate Kelley 7e9daac477
add a popup for permissions 2025-01-16 17:24:15 -07:00
Nate Kelley 33bcd9f34e
prefetch on demand 2025-01-16 16:43:04 -07:00
Nate Kelley 30c2ec5af6
only debounce if there is text 2025-01-16 16:23:42 -07:00
Nate Kelley ad142630d3
create virtua list component 2025-01-16 16:20:52 -07:00
Nate Kelley 1bdf41a063
Merge branch 'main' into staging 2025-01-16 15:10:11 -07:00
github-actions[bot] 6ae81cf978 chore(release): update version to 0.0.6 2025-01-16 22:09:23 +00:00
Nate Kelley f5069022cf
Merge branch 'main' of https://github.com/buster-so/buster 2025-01-16 15:08:57 -07:00
Nate Kelley 5b0e221738
fix: stablize versioning 2025-01-16 15:08:47 -07:00
github-actions[bot] 928d1c34af chore(release): update version to 0.0.5 2025-01-16 22:06:40 +00:00
github-actions[bot] df8940fd0b chore(release): update version to 0.0.4 2025-01-16 22:06:29 +00:00
github-actions[bot] 7caaa97f17 chore(release): update version to 0.0.3 2025-01-16 22:06:18 +00:00
github-actions[bot] e31f702c28 chore(release): update version to 0.0.2 2025-01-16 22:06:06 +00:00
Nate Kelley 69fc912dbb
Merge branch 'main' of https://github.com/buster-so/buster 2025-01-16 15:05:43 -07:00
Nate Kelley 3016e16afb
fix: update the prerelease logic 2025-01-16 15:05:19 -07:00
github-actions[bot] 7cf0645ce9 chore(release): update version to 2025-01-16 21:58:51 +00:00
Nate Kelley d6e6f41165
fix: update the prerelease logic 2025-01-16 14:57:59 -07:00
Nate Kelley 500e5ddc31
Merge branch 'main' of https://github.com/buster-so/buster 2025-01-16 14:53:46 -07:00
Nate Kelley 6a67afe5cb
fix: use a node pipeline 2025-01-16 14:53:09 -07:00
github-actions[bot] 75841b1c73 chore(release): update version to 2025-01-16 21:50:46 +00:00
Nate Kelley 8a3a36e63b
fix: use a node pipeline 2025-01-16 14:50:29 -07:00
Nate Kelley 20ba771a8d
fix: update README 2025-01-16 14:37:32 -07:00
Nate Kelley 7c26d63929
fix(main): this is a push to main to trigger a release 2025-01-16 14:23:48 -07:00
Nate Kelley 9732dfd6b7
fix(main): update release-please 2025-01-16 14:12:03 -07:00
Nate Kelley 1c328a0037
chore: add release-please configuration 2025-01-16 13:59:45 -07:00
Nate Kelley 6a973decdb
Merge pull request #47 from buster-so/staging
chore: add release-please configuration
2025-01-16 12:51:02 -08:00
Nate Kelley 95e991b10b
chore: add release-please configuration 2025-01-16 13:49:28 -07:00
Nate Kelley 09091b1dc3
fix: release please update
fix: release please update
2025-01-16 12:15:06 -08:00
Nate Kelley e8ee2ccac1
fix: release please update 2025-01-16 13:10:58 -07:00
Nate Kelley 619c87cdeb
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-01-16 13:01:57 -07:00
Nate Kelley da7f2a64ee
chore: update invalid fields 2025-01-16 13:01:37 -07:00
Nate Kelley ebe7b017ec
Merge pull request #45 from buster-so/staging
feat: update file version
2025-01-16 11:58:23 -08:00
Nate Kelley b42282902a
Merge branch 'main' into staging 2025-01-16 11:58:01 -08:00
Nate Kelley 05202a3ddb
feat: update path to version file 2025-01-16 12:56:55 -07:00
Nate Kelley 2bc0dcd960
chore: Add additional semvar files (#44)
* added empty state text

* update permission group in the dataset

* Enhance dataset asset listing with organization-specific filtering

- Updated the `list_assets` function to include organization ID filtering in dataset permissions queries.
- Removed redundant organization ID filters from the dataset permissions queries to streamline the logic.
- Ensured that only relevant dataset assets are returned based on the user's organization, improving data security and relevance.

These changes enhance the API's ability to serve organization-specific data, aligning with recent improvements in dataset asset APIs.

* containerized class should be white with no border at bottom

* clear query when signing out

* Use correct endpoint for dataset groups

* yaml syntax highligting

* create dataset endpoints

* update disable logic for deploying a dataset

* Refactor user routes to include new endpoint for retrieving user by ID

- Removed the public modifier from `get_user` and `update_user` modules to encapsulate them within the module.
- Added a new route to the user router for fetching a user by their ID, enhancing the API's functionality.
- This change improves the user management capabilities by allowing retrieval of specific user details based on their unique identifier.

* Add organizations module and integrate with user routes

* remove unused imports and abstract variables

* Refactor user update functionality to support role changes

- Enhanced the `update_user` endpoint to accept and process user role updates alongside name changes.
- Introduced a new `UserResponse` struct for improved response handling.
- Updated the `update_user_handler` to handle changes in both user name and organization role, improving the flexibility of user management.
- Adjusted response type to return no content upon successful updates, aligning with RESTful practices.

These changes enhance the user management capabilities by allowing for more comprehensive updates to user information.

* Update user route to use ID parameter for updates

- Changed the user update route to require a user ID in the URL, enhancing RESTful practices.
- Updated the `update_user` function to extract the user ID from the path, ensuring the correct user is updated based on the provided ID.

These changes improve the clarity and functionality of the user update endpoint, aligning it with standard REST conventions.

* simplify hooks imports

* Remove unused component

* restructure folders for layout

* update imports for gloabl components

* add additional routes

* Implement user permission checks in dataset deployment and user update routes

- Added permission validation to the `deploy_datasets` and `post_dataset` functions to ensure only users with workspace admin or data admin roles can execute these actions.
- Enhanced error handling for permission checks, returning appropriate HTTP status codes and messages for insufficient permissions and internal errors.
- Updated imports to include the new security checks module for consistency across routes.

These changes improve security by enforcing role-based access control in critical dataset operations.

* Refactor user update route to enhance RESTful practices

- Updated the user update route to require a user ID in the URL, ensuring the correct user is updated based on the provided ID.
- Improved clarity and functionality of the `update_user` function by extracting the user ID from the path.

These changes align the user update endpoint with standard REST conventions, enhancing overall API usability.

* Enhance dataset listing functionality with user organization roles

- Refactored dataset listing logic to incorporate user organization roles, allowing for more granular access control based on user permissions.
- Introduced new role checks for `WorkspaceAdmin`, `DataAdmin`, `Querier`, `RestrictedQuerier`, and `Viewer` to determine dataset visibility.
- Updated database queries to fetch datasets based on user roles and organization associations, improving data retrieval efficiency.
- Removed deprecated functions and streamlined the dataset fetching process, ensuring clarity and maintainability in the codebase.

These changes improve the API's security and usability by enforcing role-based access control for dataset operations.

* tweaked the post thread permissions handle.

* permission_group string fix

* remove package.json

* fix: Add release please syntax handler and github action (#40)

* fix(buster): Add release please syntax handler and github action

* chore: add version tracking setup

fix: update

update nate rulez

* Update version.txt

---------

Co-authored-by: dal <dallin@buster.so>
2025-01-16 11:46:49 -08:00
Nate Kelley acaa255b59
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-01-16 12:45:48 -07:00
Nate Kelley 9858249b9b
Update version.txt 2025-01-16 12:45:46 -07:00
Nate Kelley 339211b11a
Staging (#43)
* added empty state text

* update permission group in the dataset

* Enhance dataset asset listing with organization-specific filtering

- Updated the `list_assets` function to include organization ID filtering in dataset permissions queries.
- Removed redundant organization ID filters from the dataset permissions queries to streamline the logic.
- Ensured that only relevant dataset assets are returned based on the user's organization, improving data security and relevance.

These changes enhance the API's ability to serve organization-specific data, aligning with recent improvements in dataset asset APIs.

* containerized class should be white with no border at bottom

* clear query when signing out

* Use correct endpoint for dataset groups

* yaml syntax highligting

* create dataset endpoints

* update disable logic for deploying a dataset

* Refactor user routes to include new endpoint for retrieving user by ID

- Removed the public modifier from `get_user` and `update_user` modules to encapsulate them within the module.
- Added a new route to the user router for fetching a user by their ID, enhancing the API's functionality.
- This change improves the user management capabilities by allowing retrieval of specific user details based on their unique identifier.

* Add organizations module and integrate with user routes

* remove unused imports and abstract variables

* Refactor user update functionality to support role changes

- Enhanced the `update_user` endpoint to accept and process user role updates alongside name changes.
- Introduced a new `UserResponse` struct for improved response handling.
- Updated the `update_user_handler` to handle changes in both user name and organization role, improving the flexibility of user management.
- Adjusted response type to return no content upon successful updates, aligning with RESTful practices.

These changes enhance the user management capabilities by allowing for more comprehensive updates to user information.

* Update user route to use ID parameter for updates

- Changed the user update route to require a user ID in the URL, enhancing RESTful practices.
- Updated the `update_user` function to extract the user ID from the path, ensuring the correct user is updated based on the provided ID.

These changes improve the clarity and functionality of the user update endpoint, aligning it with standard REST conventions.

* simplify hooks imports

* Remove unused component

* restructure folders for layout

* update imports for gloabl components

* add additional routes

* Implement user permission checks in dataset deployment and user update routes

- Added permission validation to the `deploy_datasets` and `post_dataset` functions to ensure only users with workspace admin or data admin roles can execute these actions.
- Enhanced error handling for permission checks, returning appropriate HTTP status codes and messages for insufficient permissions and internal errors.
- Updated imports to include the new security checks module for consistency across routes.

These changes improve security by enforcing role-based access control in critical dataset operations.

* Refactor user update route to enhance RESTful practices

- Updated the user update route to require a user ID in the URL, ensuring the correct user is updated based on the provided ID.
- Improved clarity and functionality of the `update_user` function by extracting the user ID from the path.

These changes align the user update endpoint with standard REST conventions, enhancing overall API usability.

* Enhance dataset listing functionality with user organization roles

- Refactored dataset listing logic to incorporate user organization roles, allowing for more granular access control based on user permissions.
- Introduced new role checks for `WorkspaceAdmin`, `DataAdmin`, `Querier`, `RestrictedQuerier`, and `Viewer` to determine dataset visibility.
- Updated database queries to fetch datasets based on user roles and organization associations, improving data retrieval efficiency.
- Removed deprecated functions and streamlined the dataset fetching process, ensuring clarity and maintainability in the codebase.

These changes improve the API's security and usability by enforcing role-based access control for dataset operations.

* tweaked the post thread permissions handle.

* permission_group string fix

* remove package.json

* fix: Add release please syntax handler and github action (#40)

* fix(buster): Add release please syntax handler and github action

* chore: add version tracking setup

fix: update

update nate rulez

---------

Co-authored-by: dal <dallin@buster.so>
2025-01-16 11:09:50 -08:00
Nate Kelley da422c0a14
Merge branch 'main' into staging 2025-01-16 11:09:31 -08:00
Nate Kelley dcd1d51fc7
fix: Add release please syntax handler and github action (#40)
* fix(buster): Add release please syntax handler and github action

* chore: add version tracking setup

fix: update

update nate rulez
2025-01-16 12:08:21 -07:00
Nate Kelley f1ee35b890
chore: add semvar version update (#42)
* added empty state text

* update permission group in the dataset

* Enhance dataset asset listing with organization-specific filtering

- Updated the `list_assets` function to include organization ID filtering in dataset permissions queries.
- Removed redundant organization ID filters from the dataset permissions queries to streamline the logic.
- Ensured that only relevant dataset assets are returned based on the user's organization, improving data security and relevance.

These changes enhance the API's ability to serve organization-specific data, aligning with recent improvements in dataset asset APIs.

* containerized class should be white with no border at bottom

* clear query when signing out

* Use correct endpoint for dataset groups

* yaml syntax highligting

* create dataset endpoints

* update disable logic for deploying a dataset

* Refactor user routes to include new endpoint for retrieving user by ID

- Removed the public modifier from `get_user` and `update_user` modules to encapsulate them within the module.
- Added a new route to the user router for fetching a user by their ID, enhancing the API's functionality.
- This change improves the user management capabilities by allowing retrieval of specific user details based on their unique identifier.

* Add organizations module and integrate with user routes

* remove unused imports and abstract variables

* Refactor user update functionality to support role changes

- Enhanced the `update_user` endpoint to accept and process user role updates alongside name changes.
- Introduced a new `UserResponse` struct for improved response handling.
- Updated the `update_user_handler` to handle changes in both user name and organization role, improving the flexibility of user management.
- Adjusted response type to return no content upon successful updates, aligning with RESTful practices.

These changes enhance the user management capabilities by allowing for more comprehensive updates to user information.

* Update user route to use ID parameter for updates

- Changed the user update route to require a user ID in the URL, enhancing RESTful practices.
- Updated the `update_user` function to extract the user ID from the path, ensuring the correct user is updated based on the provided ID.

These changes improve the clarity and functionality of the user update endpoint, aligning it with standard REST conventions.

* simplify hooks imports

* Remove unused component

* restructure folders for layout

* update imports for gloabl components

* add additional routes

* Implement user permission checks in dataset deployment and user update routes

- Added permission validation to the `deploy_datasets` and `post_dataset` functions to ensure only users with workspace admin or data admin roles can execute these actions.
- Enhanced error handling for permission checks, returning appropriate HTTP status codes and messages for insufficient permissions and internal errors.
- Updated imports to include the new security checks module for consistency across routes.

These changes improve security by enforcing role-based access control in critical dataset operations.

* Refactor user update route to enhance RESTful practices

- Updated the user update route to require a user ID in the URL, ensuring the correct user is updated based on the provided ID.
- Improved clarity and functionality of the `update_user` function by extracting the user ID from the path.

These changes align the user update endpoint with standard REST conventions, enhancing overall API usability.

* Enhance dataset listing functionality with user organization roles

- Refactored dataset listing logic to incorporate user organization roles, allowing for more granular access control based on user permissions.
- Introduced new role checks for `WorkspaceAdmin`, `DataAdmin`, `Querier`, `RestrictedQuerier`, and `Viewer` to determine dataset visibility.
- Updated database queries to fetch datasets based on user roles and organization associations, improving data retrieval efficiency.
- Removed deprecated functions and streamlined the dataset fetching process, ensuring clarity and maintainability in the codebase.

These changes improve the API's security and usability by enforcing role-based access control for dataset operations.

* tweaked the post thread permissions handle.

* permission_group string fix

* remove package.json

* fix: Add release please syntax handler and github action (#40)

* fix(buster): Add release please syntax handler and github action

* chore: add version tracking setup

fix: update

update nate rulez

---------

Co-authored-by: dal <dallin@buster.so>
2025-01-16 11:02:12 -08:00
Nate Kelley ea23904b92
remove package.json 2025-01-16 10:53:23 -07:00