DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nodisp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:nodisp [2019-03-02 17:55]
turnermm [The syntax for the second case]
plugin:nodisp [2019-08-19 15:25] (current)
turnermm [The syntax for the second case]
Line 51: Line 51:
   </​nodisp>​   </​nodisp>​
 </​code>​ </​code>​
-''​acl''​ is the numeric representation of the acl level which is required for the marked off text to be output to the browser. ​ In other words the viewer must be logged in and have ''​acl''​ rights for the page in order for the marked up text to be included in the page.  So, for example, with ''<​nodisp 8>''​ the viewer must have upload permission or greater for the namespace where the page appears; with ''<​nodisp 2>'',​ the viewer must have edit permission or greater, etc. +''​acl''​ is the numeric representation of the acl level which is required for the marked off text to be output to the browser. ​ In other words the viewer must be logged in and have ''​acl''​ rights for the page in order for the marked up text to be included in the page.  So, for example, with ''<​nodisp 8>''​ the viewer must have upload permission or greater for the namespace where the page appears; with ''<​nodisp 2>'',​ the viewer must have edit permission or greater ​for the page, etc. 
  
 It's possible to have several ''​nodisp''​ blocks on a page, each with a different ''​acl''​ level, so that the current user might have access to one section of text and not another. For example, the user might have write permission ((acl 2)) for a page but not create permission for its namespace. ​ ''<​nodisp 2>''​ would mark off a passage which this user could view, but ''<​nodisp 4>''​ would mark off one which this user does not have access to. A user with create permission for page's namespace ((acl 4)) would have access to both.  ​ It's possible to have several ''​nodisp''​ blocks on a page, each with a different ''​acl''​ level, so that the current user might have access to one section of text and not another. For example, the user might have write permission ((acl 2)) for a page but not create permission for its namespace. ​ ''<​nodisp 2>''​ would mark off a passage which this user could view, but ''<​nodisp 4>''​ would mark off one which this user does not have access to. A user with create permission for page's namespace ((acl 4)) would have access to both.  ​
plugin/nodisp.txt ยท Last modified: 2019-08-19 15:25 by turnermm