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

As admin, I can't edit the Delegate role of a delegate #10502

Open
dunkOnIT opened this issue Jan 1, 2025 · 5 comments
Open

As admin, I can't edit the Delegate role of a delegate #10502

dunkOnIT opened this issue Jan 1, 2025 · 5 comments

Comments

@dunkOnIT
Copy link
Contributor

dunkOnIT commented Jan 1, 2025

No description provided.

@danieljames-dj
Copy link
Member

You should be able to, what is the error you are getting?

@dunkOnIT
Copy link
Contributor Author

dunkOnIT commented Jan 3, 2025

I get redirected to the below page when cllicking on https://staging.worldcubeassociation.org/panel/board#regions-manager (logged in as myself on staging of course)

image

@danieljames-dj
Copy link
Member

Okay, this is because admins doesn't have access to all the panels. But they can access any panel pages inside board panel using the new admin panel. The URL gets redirected only to one particular panel.

This will get fixed after #9671 is merged. After that, when user clicks the 'edit' button it will go to that panel page which may be available in any of the panels that they have access to. So in your case it will open in new admin panel.

@gregorbg
Copy link
Member

gregorbg commented Jan 3, 2025

Okay, this is because admins doesn't have access to all the panels.

Why though? The purpose of being an admin is that you should have access to everything.
(By the way, this is one of the reasons why we introduced WST-Admin subteam, so that on prod servers we can be very careful about who gets these unlimited privileges)

@danieljames-dj
Copy link
Member

I've now raised one more PR (#10585) and by this PR, any panel page can be accessed through panel-page/:panel-page-id. In short term, it will still redirect to a panel, but in long term that page will be shown in panel-page URL itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants