dev-master
9999999-dev https://github.com/ProteoWikiExtension for protecting files depending on the linked pages
GPL-3.0+
The Requires
by Toni Hermoso Pulido
file mediawiki protection smw semantic mediawiki
Extension for protecting files depending on the linked pages
Extension to protect access to files based on which pages images are embedded and the SMW properties assigned to that page., (*1)
Please check http://www.mediawiki.org/wiki/Manual:Image_Authorization for proper setup first., (*2)
$SMWFileProtectRights = array("sysop"); // Which roles are always allowed to view files no matter the linked pages, (*3)
$SMWFileProtectReferUsers = array("Has User"); // Property that refers to pages that link to other pages, for instance user pages, assuming that a page is created or assigned to a user, (*4)
$SMWFileProtectReferProps = array("Is Visible"); // Boolean property that can be used to grant permission to the page., (*5)
$SMWFileProtectReferNS = true; // This allows to block viewing based on Lockdown Extension https://www.mediawiki.org/wiki/Extension:Lockdown, (*6)
Extension for protecting files depending on the linked pages
GPL-3.0+
file mediawiki protection smw semantic mediawiki