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

Unregistered user protected messages fix #249

Merged
merged 3 commits into from Feb 1, 2021

Conversation

tofu-rocketry
Copy link
Member

@tofu-rocketry tofu-rocketry commented Aug 24, 2020

Resolves #248.

This PR corrects the spelling and also improves the messages, wherever they occur in the codebase, to clarify that registration is required and not just "auth" as you need a grid cert to get that far anyway.

Also makes the PHP logic around one of the instances consistent with the others in the same file.

@tofu-rocketry tofu-rocketry changed the title 248 unregistered msg Unregistered user protected messages fix Aug 24, 2020
@tofu-rocketry tofu-rocketry marked this pull request as ready for review August 24, 2020 10:12
@gregcorbett gregcorbett added this to the 5.8.0 milestone Aug 24, 2020
Copy link
Contributor

@jrha jrha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good to me.

It feels like a further improvement would be to start defining "standard" error messages like these as constants in a separate file, which should discourage the adding of more non-standard message and possibly improve future portability/customisation/translation.

Improve 'protected' messages to clarify that registration is required
and not just "auth" as you need a grid cert to get that far anyway.
Make logic for auth check for getEmail consistent with other occurences
within view_service.
@tofu-rocketry
Copy link
Member Author

It feels like a further improvement would be to start defining "standard" error messages like these as constants in a separate file, which should discourage the adding of more non-standard message and possibly improve future portability/customisation/translation.

Issue opened at #259 .

Copy link
Member

@gregcorbett gregcorbett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gregcorbett gregcorbett merged commit 88f499e into GOCDB:dev Feb 1, 2021
@tofu-rocketry tofu-rocketry deleted the 248-unregistered-msg branch February 1, 2021 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Info message typo in Service view
3 participants