Files
plane/apps/web/core/components/ui
3c1f7fb208 [WEB-5512] feat: workspace api tokens (#5283)
* migration: added version field in webhook

* chore: add max_length

* feat: add API tokens management to workspace settings

* chore: added product tour fields

* chore: updated the migration file

* chore: removed the duplicated migration file

* chore: added allowed_rate_limit for api_tokens

* chore: changed key feature tour to product tour

* feat: implement workspace-specific API token management

- Added WorkspaceAPITokenEndpoint for managing API tokens within specific workspaces.
- Enhanced APITokenSerializer to associate tokens with workspaces and users.
- Updated URL routing to include endpoints for workspace API tokens.
- Introduced ServiceApiTokenEndpoint for handling service tokens linked to workspaces.
- Created base views for API token operations, including create, read, update, and delete functionalities.

* chore: separate rate limit class for workspace api token

* chore: set header

* feat: add API tokens management to workspace settings

* chore: workspace api token permission check

* fix: workspace tokens are returned in user tokens

* fix: expired_at set as a read only field

* chore: added translations

* fix: error handling for APIToken not exist

* fix: error handling for APIToken not exist

* chore: added is_subscribed_to_changelog field

* chore: updated routes and headings

* chore: added missing import

* fix: remove duplicate ServiceApiTokenEndpoint

* fix: error handling

* fix: Resolver404 error handling

* chore: add feature flag

* chore: added feature flag

* chore: update api_tokens rate_limit if plan is changes

* fix: refactor WorkspaceLicense save logic

* fix: change the plan properties into a dict

* fix: typo

* fix: move the APIToken updation logic in a background task

* chore: handle api token rate limits differently for cloud vs self-hosted

* Fix setting names for rate limits

* chore: updated constants ac to new settings page

* chore: added licence snippet

* chore: added license

---------

Co-authored-by: sangeethailango <[email protected]>
Co-authored-by: b-saikrishnakanth <[email protected]>
Co-authored-by: NarayanBavisetti <[email protected]>
Co-authored-by: pablohashescobar <[email protected]>
Co-authored-by: Dheeraj Kumar Ketireddy <[email protected]>
Co-authored-by: sriramveeraghanta <[email protected]>
2026-01-21 21:02:19 +05:30
..