GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — No message is displayed if a user with no privilege to terminate a query tries to do so on query tool. · Issue #7480 · pgadmin-org/pgadmin4

No message is displayed if a user with no privilege to terminate a query tries to do so on query tool. #7480

New issue
Copy link
New issue
Copy link
Closed
Closed
No message is displayed if a user with no privilege to terminate a query tries to do so on query tool.#7480
Copy link
Assignees
RohitBhati8269
Labels
Bug
Milestone
8.8

Description

@pravesh-sharma
pravesh-sharma
opened on May 16, 2024
Issue body actions

Describe the bug
Suppose there is a user who is a member of another role who does not have the privilege to cancel a query runs a long query and then tries to cancel it he won't be able to as the role does not have the privilege but there is no message or notification is displayed for the same.

To Reproduce

  1. Create a role B which can not log in to the server.
  2. Create another role A which can log in to the server and is a member of role B.
  3. Go to the query tool and execute a long-running query. Now click on the cancel query button.
  4. Observe the connection status it says A command is currently in progress. and the execute script button is now enabled.
  5. If you access the logs an error is there Error Message:must be a member of the role whose query is being canceled or member of pg_signal_backend.

Expected behavior
Execute script button should not be enabled as the query is still executing and an error message should be displayed that the query was not cancelled.

Attaching screen recording

Screen.Recording.2024-05-16.at.1.59.19.PM.mov

Desktop (please complete the following information):

  • OS: macOS 14
  • Version: 8.6
  • Mode: Desktop

Activity

  1. pravesh-sharma
    added
    Bug
    EDB Sprint 169
    on May 16, 2024
  2. pravesh-sharma
    added this to Ready for Sprint Bugson May 16, 2024
  3. akshay-joshi
    added this to Current Sprint (213) and removed this from Ready for Sprint Bugson May 22, 2024
  4. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on May 22, 2024
  5. pravesh-sharma
    self-assigned this
    on May 30, 2024
  6. pravesh-sharma
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on May 30, 2024
  7. pravesh-sharma
    added 2 commits that reference this issue on May 30, 2024

    Fixed an issue where canceling a query without privilege does not dis…

    999fd52

    Fixed an issue where canceling a query without privilege does not dis…

    a1579a6
  8. pravesh-sharma
    moved this from 🏗 In Progress to In Review in Current Sprint (213)on May 30, 2024
  9. akshay-joshi
    added a commit that references this issue on May 31, 2024

    Fixed an issue where canceling a query without privilege does not dis…

    b5b0538
  10. akshay-joshi
    moved this from In Review to In Testing in Current Sprint (213)on May 31, 2024
  11. akshay-joshi
    added this to the 8.8 milestone on May 31, 2024
  12. akshay-joshi
    assigned
    RohitBhati8269
    and unassigned
    pravesh-sharma
    on May 31, 2024
  13. akshay-joshi
    added
    EDB Sprint 170
    and removed
    EDB Sprint 169
    on Jun 5, 2024
  14. RohitBhati8269 commented on Jun 5, 2024

    @RohitBhati8269
    RohitBhati8269
    on Jun 5, 2024
    Contributor
    More actions

    Tested and verified on candidate build: https://developer.pgadmin.org/builds/2024-06-05-1/
    Environment: MacOs

  15. RohitBhati8269
    closed this as completedon Jun 5, 2024
  16. RohitBhati8269
    moved this from In Testing to ✅ Done in Current Sprint (213)on Jun 5, 2024
  17. akshay-joshi
    removed this from Current Sprint (213)on Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @RohitBhati8269
    RohitBhati8269

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 8.8

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.