Issue:
User is allowed to create templates without permission to ISO

Solutions propose:

1) Check permissions by os.access(). This function can verify read (os.R_OK), write (os.W_OK) and execution (os.X_OK) access.

2) Iterate over all storagevolumes and use kimchi storagevolumes management (each volumes has "has_permission" item)


Both of the solutions will raise an error if permissions are insufficient.

-- 

Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn@br.ibm.com