Following on from very helpful suggestions last week I purchased Repository. What I am trying to achieve is 2 pages on one website - one that is security protected via login and with the ability for ‘administrators’ to upload/download/delete/move etc. files. This I have done very successfully and easily.
One a second page I have again used the Repository stack but on this page I have specified no login is required and download and copy to clipboard only is allowed. However on this second page these settings are ignored and its has the same properties as the page one.
I would rather not send the entire project for many reasons, I will create today a simple 3 page site that demonstrates the issue and send you that. Thanks
OK, I have emailed you a very simple 3 page site. Home, Manage Documents and Download.
I have given Manage Documents full access to do whatever, Downloads only has permission to download and copy to clipboard. However when I publish the site the Downloads page retains full permissions as set out in the Manage Documents page.
I was able to download your file. It would have been better to send it to the email address I suggested, which is possible to be found here: inStacks Software | Contact
You have 3 pages.
2 of them have the same folder name, starting with an ‘/’.
Which will lead making both of them an absolute folder.
As both have the filename index.php, the last page exported/published will overwrite the first.
As the last page is the administration page, this will lead to overwriting the page before, the downloads only page.
At the end what you want to achieve is not supported: having the exact same folder being “controlled” by a repository stack.
There are complex workarounds possible, which I will not start discussing here in the forum, as it will lead to never-ending discussions.
Again, send me an email to the address accessible here (inStacks Software | Contact) so that I can send you an updated project file with above workaround implemented.