Editing Wiki Pages: Don't Be Anonymous =]

Hello!

A small request from one (of many) who weeds spam from the wiki: when
editing or creating a page, please consider setting a KwikiName rather
than being an AnonymousGnome. It makes it easier to know I don’t need
to check your changes for spam.

Thanks!

–j
Jim Meyer, Geek at Large purp@acm.org

A small request from one (of many) who weeds spam from the wiki: when
editing or creating a page, please consider setting a KwikiName rather
than being an AnonymousGnome. It makes it easier to know I don’t need
to check your changes for spam.

Bother. I thought AnonymousGnome was the special name that the wiki
condescended to bestow upon me whenever I accessed the RT wiki
anonymously from any computer anywhere in the world. (-:

Justin

Is it possible to add a field that is mandatory to be filled in?

Joe

Is it possible to add a field that is mandatory to be filled in?

Joe

You can add a mandatory custom field in 3.6.

Hi,

I have two questions regarding the command line interface. Its description
in the book is sketchy, at best.

I want to create users using command line interface. I do

/usr/bin/rt create -t user set username=test emailaddress=test@junk.com password=test8

I want to create user with username (for login) test. However I can’t do
this: rt does not know the username attribute. The user is created, but
the user id is set to be the e-mail address: test@junk.com.

Here is what I get:

/usr/bin/rt create -t user set username=test9 emailaddress=test9@junk.com
password=qwerty

User 513 created.

username: Unknown field.

id: user/new
RealName:
NickName:
Gecos:
Organization:
Address1:
Address2:
City:
State:
Zip:
Country:
HomePhone:
WorkPhone:
MobilePhone:
PagerPhone:
FreeformContactInfo:
Comments:
Signature:
Lang:
EmailEncoding:
WebEncoding:
ExternalContactInfoId:
ContactInfoSystem:
ExternalAuthId:
AuthSystem:
password: qwerty

The list of parameters does not give any hint as what should be the userid

How can I force rt to make test the userid which user types to login to
RT?

When I tried to use id instead username I do not get errors:

/usr/bin/rt create -t user set id=test10 emailaddress=test10@junk.com
password=qwerty

User 515 created.

But the user cannot logon neither.

Tomasz Wlodek | tel 631-344-7448
Brookhaven Laboratory, Building 510M | fax 631-344-7616
Upton NY 11973-5000 |

Ok and here is my second question about CLI.

When I create users using CLI they are created as unprivileged users.
Which means that they cannot even edit their own user information.

How can I grant them rights using CLI? I would like evey user to be able
to modify their information and post tickets. I assume that every created
user belongs to group “Everyone” and I have granted such rights to this
group already, however I see that new users created using CLI still do not
have any rights.

I assume that there is a command

rt grant … what is the syntax?

Could someone post an example how to make a user a privileged user?

Tomasz Wlodek | tel 631-344-7448
Brookhaven Laboratory, Building 510M | fax 631-344-7616
Upton NY 11973-5000 |

And my followup question about granting use rights using command line
interface.

In the rt code I have found a routine:

sub grant {
my ($cmd) = @_;

my $revoke = 0;
while (@ARGV) {
}

$revoke = 1 if $cmd->{action} eq 'revoke';

}

This routine does not seem to be doing anything. Does this mean that
granting user rights from command line interface has not been implemented
yet?

Does anyone know a hack, how to bypass it?

Tomasz Wlodek | tel 631-344-7448
Brookhaven Laboratory, Building 510M | fax 631-344-7616
Upton NY 11973-5000 |On Thu, 11 May 2006, Tomasz Wlodek wrote:

Ok and here is my second question about CLI.

When I create users using CLI they are created as unprivileged users.
Which means that they cannot even edit their own user information.

How can I grant them rights using CLI? I would like evey user to be able
to modify their information and post tickets. I assume that every created
user belongs to group “Everyone” and I have granted such rights to this
group already, however I see that new users created using CLI still do not
have any rights.

I assume that there is a command

rt grant … what is the syntax?

Could someone post an example how to make a user a privileged user?

Tomasz Wlodek | tel 631-344-7448
Brookhaven Laboratory, Building 510M | fax 631-344-7616
Upton NY 11973-5000 |


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