bb-plane-fork/packages/services
Akshita Goyal d65f0e264e
[WEB-4327] Chore PAT permissions (#7224)
* chore: improved pat permissions

* fix: err message

* fix: removed permission from backend

* [WEB-4330] refactor: update API token endpoints to use user context instead of workspace slug

- Changed URL patterns for API token endpoints to use "users/api-tokens/" instead of "workspaces/<str:slug>/api-tokens/".
- Refactored ApiTokenEndpoint methods to remove workspace slug parameter and adjust database queries accordingly.
- Added new test cases for API token creation, retrieval, deletion, and updates, including support for bot users and minimal data submissions.

* fix: removed workspace slug from api-tokens

* fix: refactor

* chore: url.py code rabbit suggestion

* fix: APITokenService moved to package

---------

Co-authored-by: Dheeraj Kumar Ketireddy <dheeru0198@gmail.com>
Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
2025-06-18 16:08:11 +05:30
..
src [WEB-4327] Chore PAT permissions (#7224) 2025-06-18 16:08:11 +05:30
.eslintignore chore: common services package (#6255) 2024-12-23 01:51:30 +05:30
.eslintrc.js chore: common services package (#6255) 2024-12-23 01:51:30 +05:30
.prettierrc chore: common services package (#6255) 2024-12-23 01:51:30 +05:30
package.json chore: upgrade package version 2025-06-06 17:50:31 +05:30
tsconfig.json [WEB-3065] refactor: replace admin services with service packages (#6342) 2025-01-07 19:07:47 +05:30