Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block upload page if no upload folder is activated #7

Open
jofranz opened this issue Apr 26, 2021 · 3 comments
Open

Block upload page if no upload folder is activated #7

jofranz opened this issue Apr 26, 2021 · 3 comments

Comments

@jofranz
Copy link
Member

jofranz commented Apr 26, 2021

Steps to reproduce

  • navigate to civicrm/admin/civioffice/settings
  • disable public and / or private uplodas
  • navigate to: civicrm/civioffice/document_upload
  • upload a file

Current

  • Upload works

Expected

  • Upload or page should somehow be blocked due to permissions
@jofranz
Copy link
Member Author

jofranz commented Jan 17, 2023

Workaround:

  • cd .../public/sites/default/files/civicrm/upload/civioffice_documents/common
  • touch PUBLIC UPLOADS ARE DISABLED -- PLEASE USE MY DOCUMENTS FOR PRIVATE UPLOADS
  • chmod 444 .

@jensschuppe
Copy link
Contributor

I think this needs some more elaborate steps to reproduce ...

@jofranz
Copy link
Member Author

jofranz commented Sep 20, 2023

I updated the issue text to make things more clear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants