[pve-devel] Pool View

Andrew Thrift andrew at networklabs.co.nz
Tue Aug 26 13:04:22 CEST 2014


Hi Dietmar,

Sorry for the delay.

Yes we have tested this on our test cluster and it appears to work as
expected.


Regards,




Andrew




On Wed, Aug 13, 2014 at 6:16 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:

> 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:
>
>
> https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=686915003e6069a25b9c8e3d533f770f0a71bebe
>
> Please can you test if that fits your needs?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20140826/b09a2a5e/attachment.htm>


More information about the pve-devel mailing list