Frontend files editing + files access rights

Phoca Download - download manager
myshol
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 16 Oct 2013, 20:50

Frontend files editing + files access rights

Post by myshol »

I know that according to this information editing files in frontend is not available yet, so I'm trying to add this by myself.

I'm able to add edit button next to each file on filelist and load file details in form below. Now I'm confused, what to do next?

I supose that I have to edit views/user/view.html.php file and specify "if" condition for another $task value, for example if($task=="edit").

Which files do I need to edit more?


Another question is about access rights. If I have got users in frontend with access right to specific category, they can not see files added by super user in backend. I want to give them rights to edit/delete those files. What changes do I need to apply?

TIA
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48568
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Frontend files editing + files access rights

Post by Jan »

Hi, in UCP, users can access only own files - files they were uploaded by such users.

EDIT Files - Unfortunately I cannot explain in one post what all needs to be done, it is a work on some weeks (programming, testing, cleaning) :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply