r45953
http://show.tiki.org/11x/tiki-list_file_gallery.php?galleryId=7
I set category (photo1 - Id=1) and set File Gallery Photo (category perm test) - Id = 7 and categorize it photo1.
Anonymous have following perms:
''Can view file galleries (tiki_p_view_file_gallery)
Can download files (tiki_p_download_files)''
I set user (bernard/12345) member of group registered and in admin Category,category photo1 id=1, i add the following perm:
Can upload files (tiki_p_upload_files)
The user bernard (or any registered) should be able to add files in this Files gallery. This is not working.
http://show.tiki.org/11x/tiki-list_file_gallery.php?galleryId=7
As long as i don't give the perm:
Can admin file galleries (tiki_p_admin_file_galleries)
The upload option is not set right.
There are many case we want to have users/group able to add files in a gallery but not to admin the gallery.
It's working, But you need to set file gallery property "Gallery is public" to show "upload files" button for all users.
Update: It's working but it is wrong... the idea was to give permission of the user of the group photo1 using category to upload.
When you set "gallery is public" it bypass the permission and this is wrong both way.
ANY ANONYMOUS have now the permission to upload (and that is not what we want of course). I had to recreate the instance and the case so previous links can be wrong. Anyway, go to :
http://bsfez-11581-4515.show.tikiwiki.org/tiki-list_file_gallery.php?galleryId=4
As anonymous you can upload a file. This is potentially dangerous and should be considered as blockers now.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |