• 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

imthebest

Formerly Super120
#1
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...
 

Mike

XenForo developer
Staff member
#2
There are permission checks in the code, may need to compare the two actions to see what the difference is.
 

imthebest

Formerly Super120
#3
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...