FEAT - TASKER CODEX: user-scoped multi-workspace grants

This commit is contained in:
DCCONSTRUCTIONS
2026-05-16 14:22:33 +03:00
parent 8f87f03ee6
commit 491a2b52c8
7 changed files with 544 additions and 125 deletions
@@ -8,7 +8,9 @@ from plane.app.views import (
CodexAgentDetailEndpoint,
CodexAgentGrantListEndpoint,
CodexAgentGrantReplaceEndpoint,
CodexAgentGrantReplaceProjectsEndpoint,
CodexAgentListEndpoint,
CodexAgentProjectAccessEndpoint,
CodexAgentRevokeEndpoint,
CodexAgentSetupEndpoint,
CodexAgentTokenListEndpoint,
@@ -17,6 +19,11 @@ from plane.app.views import (
urlpatterns = [
path(
"workspaces/<str:slug>/codex-agent-api/project-access/",
CodexAgentProjectAccessEndpoint.as_view(),
name="codex-agent-api-project-access",
),
path(
"workspaces/<str:slug>/codex-agent-api/agents/",
CodexAgentListEndpoint.as_view(),
@@ -42,6 +49,11 @@ urlpatterns = [
CodexAgentGrantReplaceEndpoint.as_view(),
name="codex-agent-api-agent-grants-replace",
),
path(
"workspaces/<str:slug>/codex-agent-api/agents/<uuid:agent_id>/grants/replace-projects/",
CodexAgentGrantReplaceProjectsEndpoint.as_view(),
name="codex-agent-api-agent-grants-replace-projects",
),
path(
"workspaces/<str:slug>/codex-agent-api/agents/<uuid:agent_id>/tokens/",
CodexAgentTokenListEndpoint.as_view(),