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

Error when activating a machine as a user is confusing #919

Open
ezekg opened this issue Dec 17, 2024 · 0 comments
Open

Error when activating a machine as a user is confusing #919

ezekg opened this issue Dec 17, 2024 · 0 comments

Comments

@ezekg
Copy link
Member

ezekg commented Dec 17, 2024

As a license user, if you forget to provide the owner relationship for the machine, the error message is too general. It should be more specific, communicating that the failure is because the user doesn't have permission to activate a machine that isn't theirs (because they're not the license owner).

See: https://github.com/keygen-sh/keygen-api/blob/master/app/policies/machine_policy.rb#L53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant