custom file field access

  • Christoph Hagedorn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 weeks ago - 8 years 2 weeks ago #97247 by Christoph Hagedorn
custom file field access was created by Christoph Hagedorn
Hi there,
I added a custom file field which I want to be a required field on registration but not on profile change.
This can be handled via access policy (see attachment):
  • public: shown on registration and on profile
  • guest: shown on registration only
  • registered: shown on profile update only
This works well for many fields but has a draw back on file type fields. You can't access the uploaded file
in the joomla backend when access policy is set to guest. E.g. the admin does not see the "gueast" field on the profile page of the user. So the link to the file is missing.
Could you please change that behaviour?
Furthermore I suggest to put a .htaccess file with access restriction into the file folder. Otherwise the world can access those files.
At least there should be a hint to protect that folder.



Cheers,
Chris
Attachments:
Last edit: 8 years 2 weeks ago by Christoph Hagedorn.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
8 years 2 weeks ago #97280 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic custom file field access
Hello Chris

I think we can bypass access level check for super admin and it would solve this issue.

With that said, please submit a support ticket sending us super admin account of your site so that we can work on the modification for you

For this one, I will include it into core download package, too

Tuan
The following user(s) said Thank You: Christoph Hagedorn

Please Log in or Create an account to join the conversation.

  • Christoph Hagedorn
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #103956 by Christoph Hagedorn
Replied by Christoph Hagedorn on topic custom file field access
Issue is resolved meanwhile. Thanks.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
7 years 7 months ago #103972 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic custom file field access
Thanks for confirming :)

Tuan

Please Log in or Create an account to join the conversation.