bb-plane-fork/apiserver/plane/app/urls
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
..
__init__.py fix: cleanup for deprecated functions 2025-02-25 21:20:00 +05:30
analytic.py [WEB-4133] chore: optimised the analytics endpoints (#7105) 2025-05-23 15:05:57 +05:30
api.py [WEB-4327] Chore PAT permissions (#7224) 2025-06-18 16:08:11 +05:30
asset.py [WEB-4316] chore: new endpoints to download an asset (#7207) 2025-06-13 14:41:08 +05:30
cycle.py chore: formatting changes 2024-11-21 17:42:44 +05:30
estimate.py chore: formatting changes 2024-11-21 17:42:44 +05:30
external.py chore: formatting changes 2024-11-21 17:42:44 +05:30
intake.py [WEB-3748, 3749] feat: work item description version history (#6863) 2025-04-04 20:09:02 +05:30
issue.py [WEB-3748, 3749] feat: work item description version history (#6863) 2025-04-04 20:09:02 +05:30
module.py chore: formatting changes 2024-11-21 17:42:44 +05:30
notification.py chore: formatting changes 2024-11-21 17:42:44 +05:30
page.py [PE-97] refactor: pages actions (#6234) 2024-12-31 12:54:09 +05:30
project.py [WEB-3251] improvement: optimize projects API (#6542) 2025-02-04 16:02:07 +05:30
search.py chore: workspace entity search endpoint (#6272) 2024-12-26 15:00:32 +05:30
state.py chore: formatting changes 2024-11-21 17:42:44 +05:30
timezone.py [WEB-2884] chore: Update timezone list, add new endpoint, and update timezone dropdowns (#6231) 2024-12-19 20:15:55 +05:30
user.py chore: formatting changes 2024-11-21 17:42:44 +05:30
views.py chore: formatting changes 2024-11-21 17:42:44 +05:30
webhook.py chore: formatting changes 2024-11-21 17:42:44 +05:30
workspace.py feat: user preference url and sort order change (#6505) 2025-01-30 13:29:39 +05:30