Monday, February 15 2021
  5 Replies
  577 Visits
  Subscribe
I see that users can upload files. I have doubts about it:

If i have a category (documents) and a user upload a file to that category. That file gonna be visible to ALL the users that can access that category? The files uploaded by the user can be visible only for him and the admin?
T
Hi,

It depends on how you've setup the category, if the category is accessible to the public, yes that would be visible.
What you can do is create a temporary category and move the validated files, you can also activate Email notifications on new file uploads, it helps :)

Cheers,
D
7 months ago
It gonna be a tool for multiple users so make a temporary category would be a mess.

It is possible the user can make his own category, that can be visible for him and the admin, and upload the files there? Obvisouly, the category names must be unique.

Cheers
A
7 months ago
Hi,

Thanks for getting back to me with more information.

It gonna be a tool for multiple users so make a temporary category would be a mess.

It is possible the user can make his own category, that can be visible for him and the admin, and upload the files there? Obvisouly, the category names must be unique.


Yes, you can restrict a user or user groups to access a category, but the category name can be duplicated, only the category ID is unique.
Users can upload files to a specific category on frontend but categories should be created at backend.

Please go here for more information:
https://www.joomunited.com/wordpress-documentation/wp-file-download/225-wp-file-download-files-and-categories#toc-file-access-visibility


Hope it helps!
Kind regards,
D
7 months ago
Hi,

Ok so for my problem i need to create a category for each user registered (doing by hook) and restrict access except him. I can do that programatically? I mean, there are functions for create categories and assign accesses?

Regards.
A
7 months ago
Hi,

Thanks for your response.

Ok so for my problem i need to create a category for each user registered (doing by hook) and restrict access except him. I can do that programatically? I mean, there are functions for create categories and assign accesses?

Yes, it could be customized but you should implement it yourself.
If you do know how to do it, please contact freelancers or our partners:

https://www.joomunited.com/web-development


Hope it helps!
Kind regards,
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!