@@ -35,7 +35,7 @@ export class MemberSearchController {
3535 constructor ( private readonly memberSearchService : MemberSearchService ) { }
3636
3737 /**
38- * Returns dashboard data for the admin-only open-to-work Talent report.
38+ * Returns dashboard data for the open-to-work Talent report.
3939 * @param query Role, availability, and pagination filters.
4040 * @returns Dashboard summary and paginated member rows.
4141 */
@@ -45,11 +45,11 @@ export class MemberSearchController {
4545 summary : "List open-to-work members by preferred role" ,
4646 description :
4747 "Returns open-to-work member totals, preferred-role counts, and a paginated member list. " +
48- "Accessible by Administrator users only." ,
48+ "Accessible by Administrator and Talent Manager users only." ,
4949 } )
5050 @ApiResponse ( { status : 200 , type : OpenToWorkTalentResponseDto } )
5151 @ApiResponse ( { status : 401 , description : "Unauthenticated" } )
52- @ApiResponse ( { status : 403 , description : "Forbidden – admin role required " } )
52+ @ApiResponse ( { status : 403 , description : "Forbidden – insufficient role" } )
5353 getOpenToWorkTalent (
5454 @Query ( ) query : OpenToWorkTalentQueryDto ,
5555 ) : Promise < OpenToWorkTalentResponseDto > {
@@ -69,11 +69,11 @@ export class MemberSearchController {
6969 summary : "Export open-to-work members by preferred role" ,
7070 description :
7171 "Exports open-to-work members with email and phone fields. " +
72- "Accessible by Administrator users only." ,
72+ "Accessible by Administrator and Talent Manager users only." ,
7373 } )
7474 @ApiResponse ( { status : 200 , description : "Export successful." } )
7575 @ApiResponse ( { status : 401 , description : "Unauthenticated" } )
76- @ApiResponse ( { status : 403 , description : "Forbidden – admin role required " } )
76+ @ApiResponse ( { status : 403 , description : "Forbidden – insufficient role" } )
7777 exportOpenToWorkTalent ( @Query ( ) query : OpenToWorkTalentQueryDto ) {
7878 return this . memberSearchService . exportOpenToWorkTalent ( query ) ;
7979 }
0 commit comments