<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Issue:<br>
User is allowed to create templates without permission to ISO</p>
<p>Solutions propose:<br>
</p>
<p>1) Check permissions by os.access(). This function can verify
read (os.R_OK), write (os.W_OK) and execution (os.X_OK) access. <br>
<br>
2) Iterate over all storagevolumes and use kimchi storagevolumes
management (each volumes has "has_permission" item)</p>
<p><br>
</p>
<p>Both of the solutions will raise an error if permissions are
insufficient.<br>
</p>
<pre class="moz-signature" cols="72">--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
<a class="moz-txt-link-abbreviated" href="mailto:ramonn@br.ibm.com">ramonn@br.ibm.com</a> </pre>
</body>
</html>