AccessControl

From KIproBatt Wiki
< TestPage
TestPageAccessControlRead
Tag: 2017 source edit
Tag: 2017 source edit
Line 5: Line 5:
 
<div style="display:none">{{:{{ROOTPAGENAME}}/_acl}}</div>
 
<div style="display:none">{{:{{ROOTPAGENAME}}/_acl}}</div>
  
 +
subjects of a query are filtered
 
{{#ask: [[Visible to::!public]]
 
{{#ask: [[Visible to::!public]]
 
|?editable by
 
|?editable by
Line 12: Line 13:
 
}}
 
}}
  
 +
but objects are not
 +
{{#ask: [[{{FULLPAGENAME}}]]
 +
|?-Has parent page
 +
}}
 +
 +
subject filtering could be bypassed with property paths:
 +
{{#ask: [[{{FULLPAGENAME}}]]
 +
|?-Has parent page.Modification date
 +
|?-Has parent page.Visible to
 +
}}
  
 +
<!--
 
{{#ask: [[editable by::+]] OR [[Visible to::+]]
 
{{#ask: [[editable by::+]] OR [[Visible to::+]]
 
|?editable by
 
|?editable by
Line 18: Line 30:
 
|?Visible to
 
|?Visible to
 
|?Visible to user
 
|?Visible to user
}}
+
}} -->

Revision as of 12:13, 28 May 2022

see subpages

subjects of a query are filtered


but objects are not

 -This property is a special property in this wiki.
TestPage/AccessControlTestPage/AccessControl/Read
TestPage/AccessControl/Edit
TestPage/AccessControl/PublicEdit

subject filtering could be bypassed with property paths:

 Modification date"Modification date" is a predefined property that corresponds to the date of the last modification of a subject and is provided by Semantic MediaWiki. Visible toThis property is a special property in this wiki. 
TestPage/AccessControl20 March 2021 14:15:02
20 November 2021 08:41:36
16 November 2021 17:34:46
whitelist
key
public