[Rt-devel] ModifySelf right produces "Permission Denied"

Alex Vandiver alexmv at bestpractical.com
Tue Mar 15 17:42:48 EST 2005


On Tue, 2005-03-15 at 15:17 +0000, Ian Norton wrote:
> My apologies for posting this here in addition to rt-users, but I'm 
> beginning to be pretty convinced that this is a bug rather than a 
> configuration problem.
You're right -- this is a bug.  I've got a patch (attached, against
3.4.2), but I'm not sure it's the right patch.  In any case, I've bcc'd
rt-bugs at fsck.com
 - Alex


> -------- Original Message --------
> Subject: ModifySelf right produces "Permission Denied"
> Date: Mon, 14 Mar 2005 14:41:09 +0000
> From: Ian Norton <i.norton at lancaster.ac.uk>
> To: rt-users at lists.bestpractical.com
> 
> Hi all,
> 
> I've granted the ModifySelf right to System group Everyone and I'm
> getting some odd behaviour.
> 
> I can change my password and all my details within the preferences page
> and the database gets updated.  The problem is that it gives me a
> "Permission Denied" error, even though it has succeeded.
> 
> If I grant the right explicitly to a user and remove it from Everyone,
> it still gives the same problem.
> 
> I'm seeing a similar problem with personal groups, in that everyone is
> granted AdminOwnPersonalGroups which they can do, but there's a
> Permission Denied error - even though the edits happen.
> 
> I've enabled debugging in my RT_SiteConfig.pm but it's not showing
> anything unusual:
> 
> [Mon Mar 14 14:30:54 2005] [debug]: About to think about scrips for
> transaction #6335
> (/usr/local/packages/rt-3.4.1/lib/RT/Transaction_Overlay.pm:154)
> 
> I'm using RT 3.4.1 on Fedora Core 3 with Postgres 7.4.7.
> DBD::Pg is version 1.31
> DBIx::SearchBuilder is version 1.22
> 
> The only time I don't get errors on updating users details is if I do it
> with a SuperUser enabled account.
> 
> Any suggestions gratefully received as I'm not having any luck tracking
> this one down :(
> 
> Thanks, Ian.
> --
> Ian Norton
> Mail & Systems Support
> University of Lancaster
> 
> 
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user-updates.patch
Type: text/x-patch
Size: 942 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20050315/8a40a1c7/user-updates.bin


More information about the Rt-devel mailing list