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

Remove the player or user role should not be possible. #1892

Open
El-Limon opened this issue Jan 27, 2025 · 3 comments
Open

Remove the player or user role should not be possible. #1892

El-Limon opened this issue Jan 27, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@El-Limon
Copy link
Collaborator

Remove the player or user role should not be possible.
Now it says that it is OK while actually it will never happen.

@El-Limon El-Limon added the bug Something isn't working label Jan 27, 2025
@emielvanseveren
Copy link
Collaborator

@niekcandaele, can you throw an error for this in the API (returns 200 IIRC)

@niekcandaele
Copy link
Collaborator

Can add that!

I think it would also be good to prevent this in the frontend with a helpful message like "You cannot assign the system Player role, all players automatically have this" ?

@emielvanseveren
Copy link
Collaborator

Yes, will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants