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

Fix resource quota permissions #74

Closed
wants to merge 2 commits into from

Conversation

bastian-src
Copy link
Contributor

Switch from string to symbol and remove prefix

@bastian-src bastian-src force-pushed the fix/resource_quota_permission_names branch from 40129c9 to c56e3a3 Compare November 22, 2024 13:23
* Switch from string to symbol
* Remove prefix in permission names
* Set explicit resource_quotas permission name in model
@bastian-src bastian-src force-pushed the fix/resource_quota_permission_names branch from c56e3a3 to 4ac337d Compare November 22, 2024 14:27
@bastian-src bastian-src self-assigned this Nov 22, 2024
@bastian-src bastian-src force-pushed the fix/resource_quota_permission_names branch 2 times, most recently from a914dc9 to cd71c23 Compare November 25, 2024 11:45
@bastian-src
Copy link
Contributor Author

I've created #76 as a follow-up to run foreman permission tests automatically.
Incorporating it right now lead to an error and we can discuss it further there:

https://github.com/ATIX-AG/foreman_resource_quota/actions/runs/12009329940/job/33473854228?pr=74#step:21:17

@@ -0,0 +1,18 @@
require 'test_plugin_helper'
require 'foreman_tasks/test_helpers'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you should fix rubocop ;)

How is the test related to the permission fix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd have an issue with GitHub (might've been my fault) - the commit was unrelated.

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

Successfully merging this pull request may close these issues.

2 participants