1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Do not show the "Move Media" link if there aren't permissions for doing that

Discussion in 'Media Gallery Resolved Bugs' started by imthebest, Nov 20, 2014.

  1. imthebest

    imthebest Formerly Super120

    There is the following permission set to No: "Move media by self to any category / own album"

    However when on gallery/media_name.123/edit I can see the link "Move Media". If I click on it I get the following error message: "You do not have permission to move this media".

    Imho it would be better if you simply hide the link if there aren't permissions for doing that...
     
  2. Mike

    Mike XenForo Developer Staff Member

    There are permission checks in the code, may need to compare the two actions to see what the difference is.
     
  3. imthebest

    imthebest Formerly Super120

    I see that you're already evaluating <xen:if is="{$canMoveMedia}"> on xengallery_media_view_toolbar so maybe it's just about to extend that to the proper template...
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    This is fixed, thank you.
     
    imthebest likes this.

Share This Page