Upload from frontend not working

Phoca Download - download manager
clucking
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Sep 2013, 21:57

Upload from frontend not working

Post by clucking »

Hi,
I'm trying to setup file upload from frontent - but I keep getting the message "You are not authorized to do this action" when I try the new menu item in frontend.

What I have done:
Created a menu item for user upload - I'm part of the group which has access to the menu item.
Said Yes to Enable user upload in the global configuration of Phoca Download.
Entered my self as a user in one of the categories under Upload Rights.

So what am I missing?

Joomla 3.9.13
Phoca Download 3.1.9
Template Shape 5 - shape5_vertex 4.2.0

Thanks,
Claus Lücking
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload from frontend not working

Post by Jan »

Hi, do you have access rights to the category? Can you paste a screenshot of the error message?

Jan
If you find Phoca extensions useful, please support the project
clucking
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Sep 2013, 21:57

Re: Upload from frontend not working

Post by clucking »

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

Re: Upload from frontend not working

Post by Jan »

Try to set "Adgang" to registered. Is your menu link set for public displaying?

Jan
If you find Phoca extensions useful, please support the project
clucking
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Sep 2013, 21:57

Re: Upload from frontend not working

Post by clucking »

Hi Jan,
I have tried changing Adgang to registered and also changed the menu item to Public but neither of those changes solved the issue :-(
clucking
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Sep 2013, 21:57

Re: Upload from frontend not working

Post by clucking »

Finally had some progress Jan. I gave my self the authorization "Registered" and then I can upload. But actually we don't use that joomla group definition - we have defined our own groups.
Is the group hardcoded into the component in a way so we have to use it or is there a place we can enter our own permission group in the component?

Thanks.

Claus.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload from frontend not working

Post by Jan »

Hi, you can define own ACL group there and select it in Phoca Download:
Image

Jan
If you find Phoca extensions useful, please support the project
clucking
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Sep 2013, 21:57

Re: Upload from frontend not working

Post by clucking »

Hi,
Still have issue with this. Only when I flag myself as standard "Registered" or "Super Users" I am able to see the upload possibility in frontend - when I set in a customized ACL group in the category as you show above.

I think the problem is more and less the same as another users have raised here:
viewtopic.php?f=31&t=60915
viewtopic.php?f=31&t=61036

Best regards,

Claus.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload from frontend not working

Post by Jan »

Hi, see the posts, Access Rights extends Access and if you set Access and extend it through the Access Rights (you will just specify one user from the group), the user must belong to such group. Otherwise he/she will be not able to access the files.

In such case there are two rules checked.

First - it is checked if the user is not a part of the group
Second - if Access Rights is set, then the user is checked if he/she is selected in the Access Rights.

Example 1:
Image

I am not logged in: I cannot access the file
I am logged in as jan: I can access the file (jan is a part of registered and registered is group having viewing access for NewAccessLevel)

Example 2:
Image
I am not logged in: I cannot access the file
I am logged in as jan: I cannot access the file ... because as jan I am not a part of the group Super Users

Example 3:
Image

I am not logged in: I cannot access the file
I am logged in as jan: I can access the file because jan is in group NewAccessLevel (in this case only group is checked as the user is not set)

Access Rights just extends the Access and the user must be a part of the group.

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