Registered user cannot upload files
Hi all, I changed the default upload permissions to allow all registered users to upload files instead of only users in group “Admins”. As a registered user I then created page, but the “upload file” link is not shown on the page.
However, as an admin, the page permissions show file upload is allowed by any registered user (iiuc).
Also, as an admin, I had created several pages before changing the default permissions and (as an admin) changed the permissions on each of these page to allow registered users to upload files. However, as a non-admin registered user, the “upload files” link is also not shown.
What am I missing?
Cheers (and best wishes of the season to everyone!),
Dale
Comments
Log in or create an account to post a comment.
Re: Registered user cannot upload files
Re: Registered user cannot upload files
Re: Registered user cannot upload files
It let me upload files as just registered user.
Did you also authorized registered users to upload files generally?
See
can_upload()
function in Wacko class for details.Possible error sources:
upload
)It checks not only the page ACLs but also the gneral
upload
setting in the secondary config and always takes the most strict right. This ensures that the right to upload files can be restricted or disabled globally.The page upload permission was added to allow the page owner or admin to further restrict the file upload to that page.
Re: Registered user cannot upload files
I changed the value from “Admins” to “registered users” and the files link is now shown to non-admin registered user.
and a file can be selected for upload,
but uploading is rejected reportedly because the file is too large (note I did not change “Maximum file size” from default value 0 Bytes since the description indicated 0 was treated as unlimited).
Then I changed “Maximum file size” to 1 MB and the user was allowed to upload the file.
Re: Registered user cannot upload files
0
value issue for the maximum file size.If you think there is something missing in the documentation, please fix it.
Re: Registered user cannot upload files
Thanks, I just hope I haven't misunderstood documentation I haven't read yet ;-)
Will do! :-)