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

Better authority check when starting Debug Service #2552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sebjulliand
Copy link
Collaborator

Changes

Resolves #2551

This PR changes the checks performed when starting the Debug Service. It now allows a user with *USE authority on a profile with *ALLOBJ authority to start the debug service (i.e. when changing the USER parameter when prompted to submit the Debug Service start script).

If the user doesn't have the *USE authority on the other profile, an error will show up:
image

How to test this PR

You'll need:

  • a profile A with *ALLOBJ authority
  • a profile B without *ALLOBJ and with no authority on profile A
  1. Connect with profile B
  2. Start the Debug Service and when prompted for the SBMJOB command, change the USER parameter to use profile A
  3. An error must show up to inform you that you don't have *USE authority on profile A
  4. Give *USE authority to profile B on profile A
  5. Re-do step 2.
  6. The service must start

Checklist

  • have tested my change

@sebjulliand sebjulliand added enhancement New feature or request debug Debug client issue (IBM) labels Mar 5, 2025
@sebjulliand sebjulliand requested a review from a team March 5, 2025 20:34
@sebjulliand sebjulliand self-assigned this Mar 5, 2025
Copy link
Contributor

github-actions bot commented Mar 5, 2025

👋 A new build is available for this PR based on a8af00f.

@worksofliam worksofliam self-assigned this Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debug Debug client issue (IBM) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debug Service (right click menu)
2 participants