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

Unable to edit other's shift swaps #5389

Open
prppedro opened this issue Dec 30, 2024 · 0 comments
Open

Unable to edit other's shift swaps #5389

prppedro opened this issue Dec 30, 2024 · 0 comments
Labels

Comments

@prppedro
Copy link

prppedro commented Dec 30, 2024

What went wrong?

What happened:

  • A team-mate opened a shift swap request which I accepted;
  • Turns out this swap was scheduled to end at the world's ending;
  • I tried to change the dates, but the UI greys them out;
  • It also greys out the «Delete» button;
  • Tried via API, got empty response when listing shift swaps, as well as a «Not Found» when trying to get the details for the particular shift swap;
  • Using the API used by the UI gets me {"detail":"You do not have permission to perform this action."} when I try to use DELETE on the shift swap ID.

What did you expect to happen:

  • As an admin, I expected to be able to change the swap or at least remove it.

How do we reproduce it?

  1. Ask for a team mate to open a shift swap request;
  2. Try to edit or delete it;
  3. ????
  4. Realize you can't.
  5. In fact, realize you can't even change the dates on your own shift swap requests, only delete them.

Grafana OnCall Version

1.17.1

Product Area

Schedules

Grafana OnCall Platform?

I use Grafana Cloud

User's Browser?

No response

Anything else to add?

My user comes from Okta, but has full administrative permissions over the entire deployment. I'm able to create and delete schedules and I can even change their on-call profiles. Shift swaps is literally the only thing I don't have permission to edit.

@prppedro prppedro added the bug Something isn't working label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant