[pve-devel] Pool View
dietmar at proxmox.com
Wed Aug 13 08:16:33 CEST 2014
check_any call for valid_privs:
This check is assessing whether the user has any permissions assigned to the pool and therefore, by extension, whether they should have visibility of the Pool at all, or whether the Pool should be omitted from their view of the list of Pools. In other words, if the user has no rights assigned to the Pool, then their console/screen should not be cluttered with it in this view (as they can not perform any actions on it). This check achieves that goal.
Still don't get that. If a user has no permission assigned to a pool, the pool is not listed at all.
If a user can see any VM inside that pool (VM.Audit), The view will show the pool.
I cannot see any need for that check_any call.
I just committed a first version of the Pool View:
Please can you test if that fits your needs?
More information about the pve-devel