Skip to content
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

Return access denied if user is blocked from accessing the webform #935

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

jitendrapurohit
Copy link
Collaborator

Overview

Access Denied if user is blocked from accessing the webform.

Before

A hardcoded message is displayed if user is blocked on the webform. To test

  • Create a webform.
  • Enable Block unknown user from additional setting on civicrm tab.
  • Access the webform as anonymous.
  • A message is displayed on the top with few fields displayed too.

image

After

403 access denied is returned.

This also respects the access denied configuration on the webform.

image

So admins can enter their custom message, etc for the blocked users.

@KarinG
Copy link
Collaborator

KarinG commented Jan 8, 2024

Thank you @jitendrapurohit - test fail is being addressed in #936

@KarinG KarinG merged commit a76e094 into colemanw:6.x Jan 8, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants