bb-plane-fork/web/core/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
..
favorite refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
inbox refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
integrations refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
issue refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
page refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
project refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
ai.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
analytics.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
api.service.ts [WEB-2717] chore: implemented issue attachment upload progress (#5901) 2024-10-29 19:22:29 +05:30
app_config.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
app_installation.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
auth.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
cycle.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
cycle_archive.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
dashboard.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
file-upload.service.ts [WEB-2717] chore: implemented issue attachment upload progress (#5901) 2024-10-29 19:22:29 +05:30
file.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
instance.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
issue_filter.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
module.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
module_archive.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
sticky.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
timezone.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
user.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
view.service.ts [WEB-1255] feat: filters for project views and changes required for advanced views (#4949) 2024-06-27 14:40:14 +05:30
webhook.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
workspace-notification.service.ts refactor: move web utils to packages (#7145) 2025-06-16 17:18:41 +05:30
workspace.service.ts [WEB-3291] dev: app sidebar revamp (#6578) 2025-02-17 23:46:55 +05:30