[URGENT] Copy and paste doesnt work for non admin?!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
deanloh
Posts: 99
Joined: Sat 12. Feb 2005, 05:31
Location: Singapore
Contact:

[URGENT] Copy and paste doesnt work for non admin?!

Post by deanloh »

Somebody has to verify this: I just found out, without admin rights, a user is not able to perform copy and paste of articles.

If this is true, I'm going to face with serious problem. I have just spent 30 hours on a project, and it really got my in the spot when the client threw me this one thousand dollar question: why cant he paste the article in any section?

And if this is not true, then what could be wrong?
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Hi Deanloh,

I confirm what u said, just tested and u're right, a "normal" user can copy an article but... not paste!!! in dev 1.2.5

I don't know why... meanwhile give him admin rights?

Cheers
deanloh
Posts: 99
Joined: Sat 12. Feb 2005, 05:31
Location: Singapore
Contact:

Post by deanloh »

Kosse

Although its a very bad news, but I appreciate your response and confirmation.

There are 8 pulishers who are assigned as users. It's not possible to let them have admin rights. This is going to be disasterous... Everyone please pray for me...
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

Hallo,

a normal user can only edit articles where he is a articel owner - that is why you cant copy and paste articles your not a owner off..
http://www.studmed.dk Portal for doctors and medical students in Denmark
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

deanloh wrote:Kosse
Although its a very bad news, but I appreciate your response and confirmation.
There are 8 pulishers who are assigned as users. It's not possible to let them have admin rights. This is going to be disasterous... Everyone please pray for me...
While I would do it if it could help, I think that praying is not the answer... ;)
Frold wrote: a normal user can only edit articles where he is a articel owner - that is why you cant copy and paste articles your not a owner off..
Frold is right :!: , I forgot about that :!: :!: ... What you have to do is re-assign all articles to their respective owners and they will be able to edit it. And what is the trouble of they being admin? You can create a sort of admin2 (in mysql, create a row, I think there are some posts in forum about that) and hide some functionnalities in backend (just navigation for example), that should do it .

Or create a "general user" if they want their articles to be copied, eg name: general_user // pass: xxxxxx
So evereyone can edit it because they all got that user and pass. Not a real solution but ...

Cheers
deanloh
Posts: 99
Joined: Sat 12. Feb 2005, 05:31
Location: Singapore
Contact:

Post by deanloh »

Kosse wrote:What you have to do is re-assign all articles to their respective owners and they will be able to edit it. And what is the trouble of they being admin? You can create a sort of admin2 (in mysql, create a row, I think there are some posts in forum about that) and hide some functionnalities in backend (just navigation for example), that should do it .

Or create a "general user" if they want their articles to be copied, eg name: general_user // pass: xxxxxx
So evereyone can edit it because they all got that user and pass. Not a real solution but ...
Actually, this was exactly what I did: created a general username, and let all 8 of the publishers use it to login. And I had made sure to assign the article ownership to this username.

But I think I should give the database hacking a try. If someone has a proven method already, please share. Thanks...
deanloh
Posts: 99
Joined: Sat 12. Feb 2005, 05:31
Location: Singapore
Contact:

Post by deanloh »

Ok, I found this thread, and it seems like it's a bit old, probably for older version of phpwcms.

http://phpwcms.de/forum/viewtopic.php?t ... ser+rights

Somehow I tried to follow through the instruction, added the user_radac field into mysql, and pasted the code to phpwcms.php, but didn't see it working.

I might have posted the code at wrong places as the instruction wasnt very clear.

Can someone, if got a spare moment, help me test this method in 1.2.5 and see if you can figure out if it works?

I'm willing to pay, as long as it works. Many times I wanted to donate, but I held back when I faced sticky situation like this... what can I say?
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

dean,

Too bad this mod (http://www.phpwcms.de/forum/viewtopic.php?t=6175) wasn't released to the public, yet! I think it would really solve your problems and then some.
Post Reply