Loading...
 
Architecture / Installation

Architecture / Installation


Re: File Galleries

posts: 1817 Catalan Countries

Hi Rick:

I'm still suffering from this issue, and I have some more information about it. The issue might be related to the combination of global and local permissions in that file gallery (at least in my case). Because with same user, same file, when I upload it to another file gallery, it does upload with no issues at all.

Both galleries should have enough local perms to allow uploading the file to a user with tiki_p_admin (plus a few specific permissions for the file gallery, either directly or inherited from registered group).

But in one case of file gallery, it fails (reproduced again), but in the other, it works. Weird.

Lets see (in case this makes sense for any one). Global perms for registered for file galleries are:

Copy to clipboard
X Can download files (tiki_p_download_files) X Can upload files (tiki_p_upload_files) X Can view file galleries (tiki_p_view_file_gallery) Can admin file galleries (tiki_p_admin_file_galleries) Can assign perms to file gallery (tiki_p_assign_perm_file_gallery) X Can upload zip files with files (tiki_p_batch_upload_files) Can create file galleries (tiki_p_create_file_galleries) Can edit a gallery file (tiki_p_edit_gallery_file) Can remove files (tiki_p_remove_files) X Can view file galleries explorer (tiki_p_view_fgal_explorer) X Can view file galleries path (tiki_p_view_fgal_path)


At the file gallery where it works, I have these local perms applied:

Copy to clipboard
X Can download files (tiki_p_download_files) Can upload files (tiki_p_upload_files) X Can view file galleries (tiki_p_view_file_gallery) Can admin file galleries (tiki_p_admin_file_galleries) Can assign perms to file gallery (tiki_p_assign_perm_file_gallery) Can upload zip files with files (tiki_p_batch_upload_files) Can create file galleries (tiki_p_create_file_galleries) Can edit a gallery file (tiki_p_edit_gallery_file) Can remove files (tiki_p_remove_files) X Can view file galleries explorer (tiki_p_view_fgal_explorer) X Can view file galleries path (tiki_p_view_fgal_path)


At the file gallery where it DOES NOT work, I have these local perms applied:

Copy to clipboard
X Can download files (tiki_p_download_files) X Can upload files (tiki_p_upload_files) X Can view file galleries (tiki_p_view_file_gallery) Can admin file galleries (tiki_p_admin_file_galleries) Can assign perms to file gallery (tiki_p_assign_perm_file_gallery) Can upload zip files with files (tiki_p_batch_upload_files) Can create file galleries (tiki_p_create_file_galleries) Can edit a gallery file (tiki_p_edit_gallery_file) Can remove files (tiki_p_remove_files) X Can view file galleries explorer (tiki_p_view_fgal_explorer) X Can view file galleries path (tiki_p_view_fgal_path)


So the only difference seems to be "Can upload files (tiki_p_upload_files)", which is granted for registered, in the case of the file gallery where the jpg file upload DOESN'T work.

Can you try uploading your file to another file gallery with different combination of global and local permissions? (to see whether in your case the permissions are key to trigger this error)

Xavi

There are no comments at this time.