-
Notifications
You must be signed in to change notification settings - Fork 7
Added resource endpoint for limiting access to instant book interactive slide #245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Added resource endpoint for limiting access to instant book interactive slide #245
Conversation
src/InteractiveSlide/InstantBook.php
Outdated
@@ -124,7 +129,7 @@ private function getToken(Tenant $tenant, InteractiveSlide $interactive): string | |||
$configuration = $interactive->getConfiguration(); | |||
|
|||
if (null === $configuration) { | |||
throw new \Exception('InteractiveNoConfiguration'); | |||
throw new BadRequestHttpException('Interactive no configuration'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does "Interactive no configuration" mean?
@@ -75,6 +76,10 @@ public function getConfigOptions(): array | |||
'required' => true, | |||
'description' => 'The key in the KeyVault for the password of the user.', | |||
], | |||
'resourceEndpoint' => [ | |||
'required' => false, | |||
'description' => 'The key in the KeyVault for the resources endpoint. This should supply a json list of resources that can be booked. The resources should have ResourceMail and allowInstantBooking ("True"/"False") properties set.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this: 'The key in the KeyVault for the resources endpoint.'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add a comment to the configuration section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes, some questions
Co-authored-by: Sine Jespersen <[email protected]>
Co-authored-by: Sine Jespersen <[email protected]>
Issue
#244
Link to ticket
https://leantime.itkdev.dk/#/tickets/showTicket/4680
Description
Added resource endpoint for limiting access to instant book interactive slide.
See issue for further explanation.
Checklist