Change default access permissions

Phoca Download - download manager
francy88
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Sep 2010, 14:59

Change default access permissions

Post by francy88 »

Hi all,
I would like to change default permissions in backend forms when I create new section/category/file.
I have to create a reserved area on my site with Phoca Download, where only registered user are able to download file uploaded by administrator.
By default, all "User permissions" are set to "Public", and the administrator must change it manually to "registered"; so, is it possible to change this default value to "registered"?
What files I have to modify?

Thanks in advance,
Francesco
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change default access permissions

Post by Jan »

Hi, I think, you need to modify the script which loads the data to the form and set there that if no value is set, it should be set to e.g. registered. (The file edit model or view must be customized)

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