A new permissions bug

A few things…first off, I’m getting a new bug when I try to assign group
permission to queues…if I try to assign multiple permissions, I get an
"Invalid permission" error, but I can assign those same rights individually.

Second, I’m getting those “Could not load a valid user” emails still, and
I’m running 3.0.1pre2…I thought this was fixed?

Anyone else still seeing this?

Also, I’m still unable to delete global templates and still unable to see my
queues…

What a fun couple of weeks, eh?

-Jon

Errr…make that “Invalid right”

A few things…first off, I’m getting a new bug when I try to assign group
permission to queues…if I try to assign multiple permissions, I get an
"Invalid permission" error, but I can assign those same rights
individually.

Second, I’m getting those “Could not load a valid user” emails still, and
I’m running 3.0.1pre2…I thought this was fixed?

Anyone else still seeing this?

Also, I’m still unable to delete global templates and still unable to see
my

Can you detail for the list all of the rights you have granted your
users and groups? This sounds like you’re not granting people the rights
recommended in the install & configuration guide.On Mon, Apr 14, 2003 at 11:03:50PM -0500, Jonathan Mischo wrote:

A few things…first off, I’m getting a new bug when I try to assign group
permission to queues…if I try to assign multiple permissions, I get an
"Invalid permission" error, but I can assign those same rights individually.

Second, I’m getting those “Could not load a valid user” emails still, and
I’m running 3.0.1pre2…I thought this was fixed?

Anyone else still seeing this?

Also, I’m still unable to delete global templates and still unable to see my
queues…

What a fun couple of weeks, eh?

-Jon


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Okay…the valid user thing was permissions that got wiped out, somehow.
That is now resolved…it appears to have only been on one queue.

As for the “Invalid right” bug, it appears any time I attempt to give a
group or user more than one new permission to any particular queue at a
time. No new permissions get added to that group or user when I try to
assign multiple new rights.

For instance:

If I have a user named “foo” and a group named “bar” and try to assign
either of them “ShowTicket” and “ShowTicketComments” simultaneously, I get a
single “Invalid right” message. If I try to assign either of them
"ShowTicket" or “ShowTicketComments” individually (i.e. set one per POST), I
can assign both with no problem.

As for deleting global templates, I’ve tried with both SuperUser and
ModifyTemplate rights, and I still can’t do it, but I can modify the
templates with either right. This ONLY happens on global templates, though.
Queue templates don’t give me permission denied.

Queues are still giving me that problem that you said you saw in old
versions of Mason, but I’m running 1.19.

Here’s the skinny on what I’m running: Apache with mod_perl1, pgsql 7.3.2,
perl 5.6.1, Mason 1.19, SB 0.81_04, RT 3.0.1pre2

I’m having all of these problems running with SuperUser rights, but they
also exist for users with the applicable rights.

-Jon

Can you detail for the list all of the rights you have granted your
users and groups? This sounds like you’re not granting people the rights
recommended in the install & configuration guide.

A few things…first off, I’m getting a new bug when I try to assign
group

permission to queues…if I try to assign multiple permissions, I get an
"Invalid permission" error, but I can assign those same rights
individually.

Second, I’m getting those “Could not load a valid user” emails still,
and

I’m running 3.0.1pre2…I thought this was fixed?

Anyone else still seeing this?

Also, I’m still unable to delete global templates and still unable to
see my

Okay…the valid user thing was permissions that got wiped out, somehow.
That is now resolved…it appears to have only been on one queue.

As for the “Invalid right” bug, it appears any time I attempt to give a
group or user more than one new permission to any particular queue at a
time. No new permissions get added to that group or user when I try to
assign multiple new rights.

For instance:

If I have a user named “foo” and a group named “bar” and try to assign
either of them “ShowTicket” and “ShowTicketComments” simultaneously, I get a
single “Invalid right” message. If I try to assign either of them
"ShowTicket" or “ShowTicketComments” individually (i.e. set one per POST), I
can assign both with no problem.

Queues are still giving me that problem that you said you saw in old
versions of Mason, but I’m running 1.19.

These two are actually the exact same bug, I believe. Is your CGI.pm up
to date?

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

If I have a user named “foo” and a group named “bar” and try to assign
either of them “ShowTicket” and “ShowTicketComments” simultaneously, I
get a

single “Invalid right” message. If I try to assign either of them
"ShowTicket" or “ShowTicketComments” individually (i.e. set one per
POST), I

can assign both with no problem.

Queues are still giving me that problem that you said you saw in old
versions of Mason, but I’m running 1.19.

These two are actually the exact same bug, I believe. Is your CGI.pm up
to date?

Yup…I’m running 2.91, which is the latest on CPAN. I also tried with
2.88…same problems. Still the Invalid right bug, still the queues that
don’t appear, and still the global templates that refuse to delete.

What else should I check?

-Jon

If I have a user named “foo” and a group named “bar” and try to assign
either of them “ShowTicket” and “ShowTicketComments” simultaneously, I
get a

single “Invalid right” message. If I try to assign either of them
"ShowTicket" or “ShowTicketComments” individually (i.e. set one per
POST), I

can assign both with no problem.

Queues are still giving me that problem that you said you saw in old
versions of Mason, but I’m running 1.19.

These two are actually the exact same bug, I believe. Is your CGI.pm up
to date?

Yup…I’m running 2.91, which is the latest on CPAN. I also tried with
2.88…same problems. Still the Invalid right bug, still the queues that
don’t appear, and still the global templates that refuse to delete.

What else should I check?

I’m not really sure, off the top of my head. It may be worth going back
to the archives for the ARRAY bug and seeing what we did to fix it. It
may also be worth seeing if you can replicate it on another host

-j

-Jon


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Jesse-

It would appear, from the list, that this was never actually solved. This
was what you said at the end of that thread:
I’m hesitant to touch this issue right now, as a couple of big search
changes will be landing before the beta.I suspect that something you did
(after Nov 29th) resolved the issue, and now it’s broken again. Here’s what
I think is happening here:

I think certain Arrays (arrays of rights and arrays of statuses, etc) are
not being properly expanded for pgsql 7.3.2. This might be something in
SearchBuilder, but I highly suspect it’s not, since it broke in 3.0.1pre1 or
pre2 (I don’t recall whether I actually installed pre1). This would explain
the sudden behavior, since these problems weren’t in 3.0.0.

[UPDATE: just got confirmation from the list that someone found this in
3.0.0, too…I didn’t experience it in 3.0.0, but it appears to have been
masked by something else.]

Perhaps this IS a SearchBuilder thing? I’m waiting to hear some version
numbers from the two other users who have replicated this.

-JonFrom: “Jesse Vincent” jesse@bestpractical.com
To: “Jonathan Mischo” jon@clickalyzer.com
Cc: rt-users@lists.fsck.com
Sent: Tuesday, April 15, 2003 3:28 PM
Subject: Re: [rt-users] A new permissions bug

If I have a user named “foo” and a group named “bar” and try to
assign

either of them “ShowTicket” and “ShowTicketComments” simultaneously,
I

get a

single “Invalid right” message. If I try to assign either of them
"ShowTicket" or “ShowTicketComments” individually (i.e. set one per
POST), I

can assign both with no problem.

Queues are still giving me that problem that you said you saw in old
versions of Mason, but I’m running 1.19.

These two are actually the exact same bug, I believe. Is your CGI.pm
up

to date?

Yup…I’m running 2.91, which is the latest on CPAN. I also tried with
2.88…same problems. Still the Invalid right bug, still the queues
that

don’t appear, and still the global templates that refuse to delete.

What else should I check?

I’m not really sure, off the top of my head. It may be worth going back
to the archives for the ARRAY bug and seeing what we did to fix it. It
may also be worth seeing if you can replicate it on another host

-j

-Jon


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


http://www.bestpractical.com/rt – Trouble Ticketing. Free.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm