2017 © Pedro Peláez
 

mediawiki-extension smw-file-protect

Extension for protecting files depending on the linked pages

image

mediawiki/smw-file-protect

Extension for protecting files depending on the linked pages

  • Monday, June 15, 2015
  • by toniher
  • Repository
  • 3 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SMWFileProtect

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)

Parameters

$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)

The Versions

15/06 2015

dev-master

9999999-dev https://github.com/ProteoWiki

Extension for protecting files depending on the linked pages

  Sources   Download

GPL-3.0+

The Requires

 

by Toni Hermoso Pulido

file mediawiki protection smw semantic mediawiki