Skip to content

Conversation

@ckiee
Copy link
Member

@ckiee ckiee commented Dec 23, 2025

Related Issues

Part-of: https://github.com/descope/etc/issues/12606

Depends-on: descope/descope-js#1292

Cover new Descoper methods..

Must

  • Tests
  • Documentation (if applicable)

Copilot AI review requested due to automatic review settings December 23, 2025 12:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for managing "descopers" (internal users/administrators) in the management API. It introduces CRUD operations for creating, reading, updating, deleting, and listing descopers with role-based access control (RBAC) support.

Key changes:

  • Added type definitions for descoper entities, attributes, roles, and RBAC configuration
  • Implemented five management operations: create, load, update, delete, and loadAll
  • Comprehensive test coverage for all descoper operations

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
lib/management/types.ts Defines TypeScript types for descoper entities, RBAC, roles, and API request/response structures
lib/management/paths.ts Adds API endpoint paths for descoper CRUD operations
lib/management/index.ts Integrates descoper module into the main management API
lib/management/descoper.ts Implements descoper management functions with HTTP client wrappers
lib/management/descoper.test.ts Provides comprehensive unit tests for all descoper operations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dorsha dorsha changed the title feat: descopers RELEASE feat: descopers Dec 23, 2025
@ckiee ckiee changed the title feat: descopers feat: descopers & management key CRUD Dec 28, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ckiee ckiee requested review from asafshen and itaihanski December 28, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants