Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression] Non admin users cannot add photos or albums #669

Closed
Tracked by #634
pchampio opened this issue Jul 21, 2020 · 1 comment · Fixed by #705
Closed
Tracked by #634

[Regression] Non admin users cannot add photos or albums #669

pchampio opened this issue Jul 21, 2020 · 1 comment · Fixed by #705
Assignees
Labels
bug Something isn't working High Priority High priority issues

Comments

@pchampio
Copy link
Contributor

Detailed description of the problem [REQUIRED]

Users other than admin cannot upload photos and cannot create albums

Steps to reproduce the issue

  1. As admin create a user with allow upload (restricted account enable or not)
  2. Connect yourself as this new user
  3. Try to upload a photo or create an album

Create an album gets the following output:
image

Image upload gets the following output:
image




    Diagnostics
    -------
    Info: Latest version of PHP is 7.4
    Warning: Dropbox import not working. dropbox_key is empty.
    Warning: Image optimizer enabled but svgo not found!




    System Information
    --------------
    Lychee Version (git):            master (febbad3) - Data not in Cache
    DB Version:                      4.0.6
    
    composer install:                --no-dev
    APP_ENV:                         local
    APP_DEBUG:                       true
    
    System:                          Linux
    PHP Version:                     7.3
    Max uploaded file size:          10G
    Max post size:                   10G
    PostgreSQL Version:              PostgreSQL 10.13 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
    
    Imagick:                         1
    Imagick Active:                  1
    Imagick Version:                 1690
    GD Version:                      2.2.5




    Config Information
    --------------
    version:                         040006
    check_for_updates:               0
    sorting_Photos_col:              takestamp
    sorting_Photos_order:            ASC
    sorting_Albums_col:              min_takestamp
    sorting_Albums_order:            DESC
    imagick:                         1
    skip_duplicates:                 0
    small_max_width:                 0
    small_max_height:                360
    medium_max_width:                1920
    medium_max_height:               1080
    lang:                            en
    layout:                          1
    image_overlay:                   1
    image_overlay_type:              exif
    default_license:                 CC-BY-SA-4.0
    compression_quality:             90
    full_photo:                      1
    delete_imported:                 0
    Mod_Frame:                       1
    Mod_Frame_refresh:               30
    thumb_2x:                        1
    small_2x:                        1
    medium_2x:                       1
    landing_page_enable:             0
    landing_owner:                   Pierre C
    landing_title:                   Pierre C
    landing_subtitle:                
    landing_facebook:                
    landing_flickr:                  
    landing_twitter:                 
    landing_instagram:               
    landing_youtube:                 
    landing_background:              dist/cat.jpg
    site_title:                      Albums de Pierre
    site_copyright_enable:           0
    site_copyright_begin:            2019
    site_copyright_end:              2019
    additional_footer_text:          
    display_social_in_gallery:       0
    public_search:                   1
    SL_enable:                       0
    SL_for_admin:                    0
    public_recent:                   0
    recent_age:                      4
    public_starred:                  0
    downloadable:                    1
    photos_wraparound:               0
    map_display:                     0
    zip64:                           1
    map_display_public:              0
    map_provider:                    Wikimedia
    force_32bit_ids:                 0
    map_include_subalbums:           0
    update_check_every_days:         3
    has_exiftool:                    1
    share_button_visible:            1
    import_via_symlink:              0
    has_ffmpeg:                      1
    location_decoding:               0
    location_decoding_timeout:       30
    location_show:                   1
    location_show_public:            0
    rss_enable:                      0
    rss_recent_days:                 7
    rss_max_items:                   100
    prefer_available_xmp_metadata:   0
    editor_enabled:                  1
    lossless_optimization:           1

Browser and system

Manjaro firefox

@ildyria ildyria added bug Something isn't working High Priority High priority issues labels Jul 21, 2020
@ildyria ildyria changed the title Non admin users cannot add photos or albums [Regression] Non admin users cannot add photos or albums Jul 21, 2020
@kamil4 kamil4 self-assigned this Aug 28, 2020
@kamil4
Copy link
Contributor

kamil4 commented Aug 28, 2020

Sorry we took that long to fix this regression...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority High priority issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants