Skip to content

Commit

Permalink
Video link added to online meeting
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanalicic committed Sep 21, 2022
1 parent 567821c commit cfb71dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers(
"/users/consultants/sessions/{sessionId:[0-9]+}",
"/users/sessions/{sessionId:[0-9]+}/archive",
"/users/sessions/{sessionId:[0-9]+}",
"/appointments")
"/users/sessions/{sessionId:[0-9]+}")
.hasAnyAuthority(CONSULTANT_DEFAULT)
.antMatchers("/appointments")
.hasAnyAuthority(CONSULTANT_DEFAULT, TECHNICAL_DEFAULT)
.antMatchers(HttpMethod.PUT, APPOINTMENTS_APPOINTMENT_ID + UUID_PATTERN + "}")
.hasAuthority(CONSULTANT_DEFAULT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ void getAppointmentsShouldReturnUnauthorizedWhenNoKeycloakAuthorization() throws
AuthorityValue.ASSIGN_CONSULTANT_TO_ENQUIRY,
AuthorityValue.ASSIGN_CONSULTANT_TO_PEER_SESSION,
AuthorityValue.CREATE_NEW_CHAT,
AuthorityValue.TECHNICAL_DEFAULT,
AuthorityValue.USE_FEEDBACK,
AuthorityValue.USER_DEFAULT,
AuthorityValue.USER_ADMIN,
Expand Down Expand Up @@ -232,7 +231,6 @@ void postAppointmentsShouldReturnUnauthorizedWhenNoKeycloakAuthorization() throw
AuthorityValue.ASSIGN_CONSULTANT_TO_ENQUIRY,
AuthorityValue.ASSIGN_CONSULTANT_TO_PEER_SESSION,
AuthorityValue.CREATE_NEW_CHAT,
AuthorityValue.TECHNICAL_DEFAULT,
AuthorityValue.USE_FEEDBACK,
AuthorityValue.USER_DEFAULT,
AuthorityValue.USER_ADMIN,
Expand Down

0 comments on commit cfb71dc

Please sign in to comment.