Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Disabling LinkOwner completely

Quote Reply
Disabling LinkOwner completely
I just lost 45 minutes of typing & hitting preview, so I'll give the quick version: I'm not worried about the security aspects involved, but I want to allow and Registered User the permission to modify ANY link. I've gone into modify.pm and changed one of the lines as such:

my $sth = $link_db->select ( { ID => $lid, LinkOwner => $USER->{Username} });

TO:

my $sth = $link_db->select ( { ID => $lid });



This allowed me to finally click on edit without any errors and get into the modify screen. Unfortunately, when I make a change and hit submit, I get this error message:

We were unable to find the URL '53' in the database. Please make sure you typed it in exactly as it appears in the directory.

And link ID 53 is a valid link. Any help or input would really be appreciated here....I'd like to sleep some day this week!
Perl Hopefull
Subject Author Views Date
Thread Disabling LinkOwner completely stilton 2287 Oct 6, 2003, 10:18 PM
Thread Re: [stilton] Disabling LinkOwner completely
Andy 2189 Oct 7, 2003, 1:54 AM
Post Re: [Andy] Disabling LinkOwner completely
stilton 2177 Oct 7, 2003, 12:58 PM
Thread Re: [stilton] Disabling LinkOwner completely
afinlr 2151 Oct 8, 2003, 9:55 AM
Post Re: [afinlr] Disabling LinkOwner completely
stilton 2144 Oct 8, 2003, 7:53 PM