There are no approved versions of this page.
You are viewing an old version of this page. Return to the latest version.
[unchecked revision] | [unchecked revision] |
(Tag: 2017 source edit) |
(Tag: 2017 source edit) |
NSFileRepo enables uploading files to namepaces. Extension restricts access to upload and read files and images to a given set of user groups associated with protected namespaces. Using this extension (within the security limitations noted above), you can protect not only pages and areas of your wiki, but also any uploaded images or files within those namespaces. Provide namespace based features to uploaded files.
File is still being uploaded to the File namespace (NS_FILE) but it contains additional namespace that can be any of the namespaces defined on the wiki. Such files have structure:
[[{FILE_NS}:{Namespace}:{Filename}]]
For example file can be uploaded to "Private" namespace and access to that namespace can be resticted to particular user group(s):
[[File:Private:Filename.jpg]]
The standard for accessing files is generally:
[[File:Filename.jpg]] [[Image:Filename.jpg]] [[Media:Filename.jpg]]
Access to particular namespace can be managed by using BlueSpicePermissionManager extension.
Technical details on how this extension works can be found here.
Reference page for this extension.
<bs:bookshelf src="Book:User manual" /> __TOC__ ==What is NSFileRepo?== '''NSFileRepo''' enables uploading files to namepaces. Extension restricts access to upload and read files and images to a given set of user groups associated with protected namespaces. Using this extension (within the security limitations noted above), you can protect not only pages and areas of your wiki, but also any uploaded images or files within those namespaces. Provide namespace based features to uploaded files. ==How?== File is still being uploaded to the File namespace (NS_FILE) but it contains additional namespace that can be any of the namespaces defined on the wiki. Such files have structure: <pre>[[{FILE_NS}:{Namespace}:{Filename}]] </pre> For example file can be uploaded to "Private" namespace and access to that namespace can be resticted to particular user group(s): <pre>[[File:Private:Filename.jpg]] </pre> The standard for accessing files is generally: <pre>[[File:Filename.jpg]] [[Image:Filename.jpg]] [[Media:Filename.jpg]] </pre> Access to particular namespace can be managed by using [[Manual:Extension/BlueSpicePermissionManager|BlueSpicePermissionManager]] extension. Technical details on how this extension works can be found [https://www.mediawiki.org/wiki/Extension:NSFileRepo/DOC here]. ==See also== [[Reference:NSFileRepo|Reference page]] for this extension.
Line 30: | Line 30: | ||
==See also== | ==See also== | ||
− | [[NSFileRepo|Reference page]] for this extension. | + | [[Reference:NSFileRepo|Reference page]] for this extension. |