Menu

4.2.3 user upload media not to sub dir

Help
2010-02-26
2013-05-30
  • anton mcloughlin

    The upload media form for a user is different to that of the administrator in that the administrator can chose which folder to upload media to.  But when using a user account with edit rights the upload media for is different and is missing the portion to choose the sub directory within /media to upload media file to.
    This means that any media loaded by a user can only go into the root media directory and has then to be moved with FTP by the administrator.
    Only way they get to choose directory is to tick box to allow them to administer.
    Surely they should be able to upload to a sub directory and link the media without having full admin rights as it seems to defeat the object of allowing users to upload media.

     
  • anton mcloughlin

    Having tested all levels of user access choosing a folder to upload media to is only possible with the highest level of access for a user that also allows them to manage the gedcom file.
    This is far too high a level to grant a user just to upload their media contributions.

     
  • Anton Largiader

    Anton Largiader - 2010-02-26

    I suspect this is by design. Out of curiosity, how do you make use of subfolders for media? I keep them all together, but I have a very small GEDCOM.

     
  • Stuart.G

    Stuart.G - 2010-02-26

    I'm using V4.2.3 and I have just tested with my Test User with Edit rights, but not admin rights, and all folders are available for images to be uploaded.

    These folders are also available for general public view. So Anton, you can check how I use sub-folders by going to my site and clicking on the List for Multi-media and open the drop-down box for the filter. The URL is:

    http://stuart.scss.dyndns.info/FamilyTree/

    Stuart

     
  • Gerry Kroll

    Gerry Kroll - 2010-02-26

    That's by design, after much discussion among the developers.

    The rationale is:  You don't want anybody other than an admin to change the file or directory structure on the server.  Presumably, the admin is aware of site-specific naming conventions.  You can't expect non-admins to be aware of the details and to respect them.

    By restricting the incoming files to the root media directory and not allowing editing users to change the file names, control over these details is entirely up to the admin.  This also avoids the problem of uploading users inadvertently uploading a file using an already-existing file name.  This can have very undesirable consequences.

    The Admin doesn't need to use FTP to move the incoming media files or to rename them.  In fact, this is NOT a good idea.

    The Admin can use the Manage Media page, and edit each individual media item.  This task should be done anyway, since descriptive titles and other details need to be added to each media item.  When you change the media file's name, you can specify where the file and also the thumbnail are supposed to go, and what name they're supposed to have.

     

Log in to post a comment.