TadiosAbebe opened a new issue, #9241:
URL: https://github.com/apache/cloudstack/issues/9241

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Template
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.19
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   A new cloudstack deployment with advanced networking, kvm for compute, nfs 
for secondary storage, ceph for primary storage
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   ubuntu server 22.04 for all servers, kvm, management and storage
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   On the cloudstack documentation, it specifies that `Only an administrator 
can make a Template Featured.`, that holds true for the most part, in a way 
that for users with User and Domain admin role the featured checkbox when 
registering a template or ISO isn't visible. But when users with the above 
roles try to create a template from an existing volume they are given the 
permission to make the template a featured one.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Create an instance with a root disk
   2. Stop the instance and navigate to it's volume
   3. Click on create template from volume button
   4. Here whether you are a root admin, domain admin, or user you will see the 
featured option and you are able to set the template as featured
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   for users with the User role the featured option should not be visible and 
the user shouldn't have the permission to set a template featured
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   users with the User role can set the featured option, and it will allow them 
to create a featured template that is 
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to