[rt-users] rt - CLI group edit membership
Wulf Coulmann
wulf at smeet.com
Thu Sep 16 13:35:32 EDT 2010
Hi,
I failed to edit group memberships via cli. ENV at end of mail.
1. check who is member of a group -- so far, everything work as aspected
wulf at host ~ $ rt show group/mygroup
id: group/116
Name: mygroup
Description: mygroup
Members: Member 1 <member.1 at mail.com>,
Member 2 <member.2 at mail.com>,
...
Member 20 <member.20 at mail.com>
2. add a member (already existing and privileged user)
I didn't find information how to define the new user
mail address: member.1 at mail.com
or
id: 12345
or
as listed: New Member <new.member at mail.com>
all of them are acceptet but non of them work.
wulf at host ~ $ rt edit group/mygroup add members=new.member at mail.com
id: group/116
Name: mygroup
Description: mygroup
Members: Member 1 <member.1 at mail.com>,
Member 2 <member.2 at mail.com>,
...
Member 20 <member.20 at mail.com>,
new.member at mail.com
so at the moment this looks quit ok, but after check with
wulf at host ~ $ rt show group/mygroup
the new member is not added. Same If I try to define by uid.
e.g. I'm able to edit "privileged" state of a user via cli.
Did I use the syntax correct?
How to define the user (not /user/ID but user to add to members) ?
Is there a known bug? (didn't find anythink)?
ENV: Debian rt 3.8.8
Best Wulf++
More information about the rt-users
mailing list