coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: dwo on June 14, 2008, 01:39:01 PM

Title: switching users user rights several times
Post by: dwo on June 14, 2008, 01:39:01 PM
Hello.

I have several users and one admin.

I want, that from time to time users should be able to upload in admin albums (in other categories).
Therefore, I want to switch them to admin rights, let them upload, then, I want to switch them back to registered rights.

I tested that and it works fine.

Question: Could this cause problems in the database etc. in the long run?

Thank you very much, regards, Dietmar

Title: Re: switching users user rights several times
Post by: Stramm on June 14, 2008, 02:51:12 PM
I do not think that this will cause db problems. However you shouldn't give away admin rights to people you fully trust. With admin rights and google everyone can take over your server.
Why not temporarily change album permissions instead? If it's several albums you could create a sql statement list that you just paste into phpmyadmins command box.
Title: Re: switching users user rights several times
Post by: dwo on June 14, 2008, 10:03:04 PM
Thank you very much Stramm   :)

I would give them rights just for the upload process.

Then, I have removed all "admin tags" and some user tags, too. So they get only the direct link to upload.php, so they dont start playing around ;)

Then, I additionally renamed some files in the root folder like admin.php etc.

So, I think, you need much negative energy to do damage. And if you do, we will install one of our backups. Our server backups twice a day.


But, I will have a look at what you proposed, although I dont quite understood 100% ;)

Best regards, Dietmar