This is a comment on Registered user cannot upload files, posted by WikiAdmin at 26.12.2024 07:34

View source for Re: Registered user cannot upload files

I run some test locally and it all worked as expected.
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.
  * https://github.com/WackoWiki/wackowiki/blob/6414da827f183c348f8a44c709e34e1d004faa67/src/class/wacko.php#L6914

Possible error sources:
  * the user must have also write rights to upload a file to a page
  * registered users must generally be authorized to upload files (see Admin panel -> Upload -> Right to upload files: ##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.

file:/ap_upload_settings_en.png

The page upload permission was added to allow the page owner or admin to further restrict the ((/Doc/English/Actions/UploadFiles file upload)) to that page.

file:/wackowiki_r6_en_permissions.png