Created page with "{{DISPLAYTITLE:Restrict page access}} The '''BlueSpicePageAccess''' extension allows you to restrict access to a page to specific user groups. The restriction is done by inserting the ''pageaccess'' tag. The access restriction per page is done on a group basis. "Access" here means all actions including reading and editing. ==Instructions== '''To add this tag using VisualEditor:''' #'''Position''' the cursor at the top of your page. #'''Select'''..." Tag: 2017 source edit |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The '''BlueSpicePageAccess''' extension allows you to restrict access to a page to specific user groups. The restriction is done by inserting the ''pageaccess'' tag. The access restriction per page is done on a group basis. "Access" here means all actions including reading and editing. | The '''BlueSpicePageAccess''' extension allows you to restrict access to a page to specific user groups. The restriction is done by inserting the ''pageaccess'' tag. The access restriction per page is done on a group basis. "Access" here means all actions including reading and editing. | ||
==Instructions== | ==Instructions== | ||
'''To add this tag using [[Manual:VisualEditor|VisualEditor]]:''' | '''To add this tag using [[Manual:Extension/VisualEditor|VisualEditor]]:''' | ||
#'''Position''' the cursor at the top of your page. | #'''Position''' the cursor at the top of your page. | ||
Line 9: | Line 9: | ||
#'''Select''' ''Page Access Permission'' in the dialog box. | #'''Select''' ''Page Access Permission'' in the dialog box. | ||
#'''Click''' ''Insert''. | #'''Click''' ''Insert''. | ||
#'''Add''' the desired groups. | #'''Add''' the desired groups.[[File:Page acess inspector.png|alt=open page access dialog field in visual editing mode|center|thumb|350x350px|the page access inspector]] | ||
#'''Click''' ''Insert''. <br /> | #'''Click''' ''Insert''. <br /> | ||
The page now shows an info header with the groups that have access. | The page now shows an info header with the groups that have access to this page. | ||
[[File: | |||
[[File:Page access banner.png|alt=banner showing that access is restricted to groups sysop and VH|center|thumb|650x650px|Page access banner]] | |||
In source view, the tag looks like this:<pre><nowiki> | In source view, the tag looks like this:<pre><nowiki> | ||
<bs:pageaccess groups="sysop, secure1,secure2" /> | <bs:pageaccess groups="sysop, secure1,secure2" /> | ||
</nowiki></pre>{{ | </nowiki></pre>{{Textbox|boxtype=note|icon=yes|header=Important!|text=A user can only restrict access to the groups that user belongs to. This is a security feature that prevents users from locking themselves out of a page. In addition, users in the sysop group always have access to these pages.|bgcolor=}} | ||
{{Translation}} | {{Translation}} | ||
[[Category:Editing]] | [[Category:Editing]] |
Latest revision as of 10:44, 19 February 2025
The BlueSpicePageAccess extension allows you to restrict access to a page to specific user groups. The restriction is done by inserting the pageaccess tag. The access restriction per page is done on a group basis. "Access" here means all actions including reading and editing.
Instructions
To add this tag using VisualEditor:
- Position the cursor at the top of your page.
- Select Add Content Droplet.
- Select Page Access Permission in the dialog box.
- Click Insert.
- Add the desired groups.
the page access inspector - Click Insert.
The page now shows an info header with the groups that have access to this page.

In source view, the tag looks like this:
<bs:pageaccess groups="sysop, secure1,secure2" />
Important!A user can only restrict access to the groups that user belongs to. This is a security feature that prevents users from locking themselves out of a page. In addition, users in the sysop group always have access to these pages.