Rt command line features broken?

Hi all. The rt command line tool doesn’t seem to have the feature that
it says it has. Anyone else run into this? See below:

[root@rt ~]# rt help group

Users and groups are identified by name or numeric ID.

The following generic operations may be performed upon them:

- list
- show
- edit
- create

In addition, the following type-specific actions exist:

- grant
- revoke

Attributes:

The following attributes can be used with "rt show" or "rt edit"
to retrieve or edit other information associated with users and
groups:

rights                  Global rights granted to this user.
rights/<queue>          Queue rights for this user.

So, according to this, I should be able to run a command like rt show group/<mygroup>/rights. However, when I run that, I get:

[root@rt ~]# rt show group//rights

Unknown object type: group

id: group//rights

I get the same error when I run rt show group/<mygroup>

Is it possible that the documentation came before the implementation?

David Smithson

Did you try with the ‘-’ in front of the ‘show’?

Mathew Snyder

David Smithson wrote:

That doesn’t work.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: theillien [mailto:jokermjs19@comcast.net]
Sent: Monday, July 10, 2006 10:33 PM
To: David Smithson
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] rt command line features broken?

Did you try with the ‘-’ in front of the ‘show’?

Mathew Snyder

David Smithson wrote:

Hi all. The rt command line tool doesn’t seem to have the feature
that it says it has. Anyone else run into this? See below:

[root@rt ~]# rt help group

Users and groups are identified by name or numeric ID.

The following generic operations may be performed upon them:

- list
- show
- edit
- create

In addition, the following type-specific actions exist:

- grant
- revoke

Attributes:

The following attributes can be used with "rt show" or "rt edit"
to retrieve or edit other information associated with users and
groups:

rights                  Global rights granted to this user.
rights/<queue>          Queue rights for this user.

So, according to this, I should be able to run a command like `rt show

group//rights`. However, when I run that, I get:

[root@rt ~]# rt show group//rights # Unknown object type:
group

id: group//rights

I get the same error when I run rt show group/<mygroup>

Is it possible that the documentation came before the implementation?

David Smithson



The rt-users Archives

Community help: http://wiki.bestpractical.com Commercial support:
sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions