Send dedicated error message to the create ticket dialogue if create permission permission is missing. #1686
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If the create permission permission is missing when creating a
ticket, a new, dedicated error message is now sent to GSA.
What:
In manage_sql_tickets.c in function create_ticket (..):
A new error code is returned in case of a missing create
permission permission.
In gmp_tickets.c in function create_ticket_run (..):
A new error message is sent to GSA if the create permission
permission is missing.
Why:
This change is part of a bug-fix.
How did you test it:
Tried to create a ticket with and without the create permission permission.
Checklist: