[pve-devel] GroupEdit

Dietmar Maurer dietmar at proxmox.com
Sun Jul 3 09:29:37 CEST 2011

Hi Seth,

> I would prefer to have at least add and remove functionality for groups.  

That is already there:

# pveum groupdel oldgroup

or with pvesh:

# delete /access/groups/oldgroup

> I'm basing this on my experience with active directory and other directory services.
> Just curious how were you proposing that groups be modified through the user
> editor? 

Simply specify what groups a user belongs too:

# pveum usermod testuser -groups 'A,B,C'

or with pvesh

# set /access/users/testuser -groups 'A,B,C'

>  Particularly removing old groups?

# pveum groupdel oldgroup

or with pvesh

# delete /access/groups/oldgroup

But please feel free to implement a full featured group API/GUI. I simply had no time
to work on that.

- Dietmar

More information about the pve-devel mailing list