@@ -124,7 +124,7 @@ public MeetingController(
124
124
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
125
125
schema = @ Schema (implementation = ApiErrorDTO .class )))
126
126
})
127
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
127
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
128
128
public ResponseEntity <MeetingsPageDTO > findMeetings (
129
129
@ Parameter (description = "The type of meeting to be retrieved: 'normal', 'static', 'instant'" )
130
130
@ RequestParam (defaultValue = "normal" , required = false ) String type ,
@@ -193,7 +193,7 @@ public ResponseEntity<MeetingsPageDTO> findMeetings(
193
193
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
194
194
schema = @ Schema (implementation = ApiErrorDTO .class )))
195
195
})
196
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
196
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
197
197
public ResponseEntity <MeetingDTO > findById (
198
198
@ Parameter (description = "Id of the meeting." , required = true )
199
199
@ PathVariable UUID mId )
@@ -346,7 +346,7 @@ public ResponseEntity<MeetingPermissionsDTO> getPermissions(
346
346
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
347
347
schema = @ Schema (implementation = ApiErrorDTO .class )))
348
348
})
349
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
349
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
350
350
public ResponseEntity <MeetingDTO > createMeeting (
351
351
@ io .swagger .v3 .oas .annotations .parameters .RequestBody (description = "The meeting to be created" )
352
352
@ RequestBody MeetingCreateDTO meeting )
@@ -389,7 +389,7 @@ public ResponseEntity<MeetingDTO> createMeeting(
389
389
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
390
390
schema = @ Schema (implementation = ApiErrorDTO .class )))
391
391
})
392
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
392
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
393
393
public ResponseEntity <MeetingDTO > updateMeeting (
394
394
@ Parameter (description = "Id of the meeting to be updated." , required = true )
395
395
@ PathVariable UUID mId ,
@@ -550,7 +550,7 @@ public String generateLink(
550
550
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
551
551
schema = @ Schema (implementation = ApiErrorDTO .class )))
552
552
})
553
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
553
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
554
554
public ResponseEntity <List <MeetingParticipantDTO >> listParticipants (
555
555
@ Parameter (description = "Id of the meeting to get the participants list." , required = true )
556
556
@ PathVariable UUID mId )
@@ -591,7 +591,7 @@ public ResponseEntity<List<MeetingParticipantDTO>> listParticipants(
591
591
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
592
592
schema = @ Schema (implementation = ApiErrorDTO .class )))
593
593
})
594
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
594
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
595
595
public ResponseEntity <MeetingParticipantDTO > createParticipant (
596
596
@ Parameter (description = "Id of the meeting." , required = true )
597
597
@ PathVariable UUID mId ,
@@ -634,7 +634,7 @@ public ResponseEntity<MeetingParticipantDTO> createParticipant(
634
634
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
635
635
schema = @ Schema (implementation = ApiErrorDTO .class )))
636
636
})
637
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
637
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
638
638
public ResponseEntity <MeetingParticipantDTO > updateParticipant (
639
639
@ Parameter (description = "Id of the meeting." , required = true )
640
640
@ PathVariable UUID mId ,
@@ -677,7 +677,7 @@ public ResponseEntity<MeetingParticipantDTO> updateParticipant(
677
677
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
678
678
schema = @ Schema (implementation = ApiErrorDTO .class )))
679
679
})
680
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
680
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
681
681
public ResponseEntity <Void > deleteParticipant (
682
682
@ Parameter (description = "Id of the meeting." , required = true )
683
683
@ PathVariable UUID mId ,
@@ -716,7 +716,7 @@ public ResponseEntity<Void> deleteParticipant(
716
716
content = @ Content (mediaType = MediaType .APPLICATION_JSON_VALUE ,
717
717
schema = @ Schema (implementation = ApiErrorDTO .class )))
718
718
})
719
- @ PreAuthorize ("hasAuthority('default-roles-vk-bund') " )
719
+ @ PreAuthorize ("@rolesAuthorization.hasBasicAccessRole " )
720
720
public boolean isRegisteredUser (
721
721
@ Parameter (description = "Id (email) of the user to be checked." , required = true )
722
722
@ PathVariable String userId )
0 commit comments