remove Project Template Permissions inhibition#9196
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #9196 +/- ##
============================================
- Coverage 14.95% 4.28% -10.68%
============================================
Files 5382 363 -5019
Lines 470092 29395 -440697
Branches 57685 5139 -52546
============================================
- Hits 70311 1260 -69051
+ Misses 391993 27992 -364001
+ Partials 7788 143 -7645
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
yadvr
left a comment
There was a problem hiding this comment.
LGTM - but worth testing, if templates owned by projects shared with accounts and other projects, can actually be listed by non-project accounts and other projects? May be also worth adding a Marvin test.
773f82f to
7eb7c0a
Compare
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9942 |
|
@blueorangutan package |
|
@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
@DaanHoogland I tested the below scenario in an env with a Simulator zone:
Now the normal user doesn't have access to the project. Toggling the Projects button, I can see the template. I couldn't deploy a VM via UI because I couldn't see the template while launching the VM. I am not sure if this is intended or if this is another bug or an enhancement? |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10017 |
...
as discussed I think the deplpoy wizard can not handle the truth. I'll have a look. thanks @vishesh92 |
4f6da0c to
aa4b0fd
Compare
|
@vishesh92 , seemed trivial. I have now added the |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10036 |
|
@DaanHoogland Tested now. Able to launch a VM using the shared template using UI. |
|
Hi all, on my dev. environments I don't work with projects (and I'm not very familiar with this option). I don't see any available templates when using the deploy VM wizard because of the |
No @slavkap I think another parameter needs to be set as well, or the the parameter needs to be optional (as in list templates) |
|
@slavkap @DaanHoogland I have created a PR to fix this issue here: #9300 |



Description
This PR removes the inhibition for projects to update template permissions.
Fixes: #7350
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?