Zuletzt bearbeitet vor 4 Monaten
von Robert Vogel

AutoDoc:BlueSpicePageAccess: Unterschied zwischen den Versionen

K (1 Version importiert)
hw>Unknown user
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
{{ExtensionMainDescOpen}}
==DescriptionMsg==
{{ExtensionMainDescBody
{{AutoDocDescriptionMsg
|desc = Regelt den Zugriff auf Seitenebene
|name = BlueSpicePageAccess
}}
|desc = {{int:bs-pageaccess-desc
{{ExtensionMainDescClose}}
}}
 
}}
{{ExtensionSpecialPagesOpen}}
==License==
{{ExtensionSpecialPagesBody
{{AutoDocLicense
|name = GPL-3.0-only
}}
==Requirements==
{{AutoDocRequirements
|mediawiki = {{AutoDocVersion
|name = MediaWiki
|version = 1.35.0
}}
|extensions = {{AutoDocVersion
|name = BlueSpiceFoundation
|version = 4.0
}}
}}
==IntegratesInto==
{{AutoDocIntegratesInto
|into = {{AutoDocListItem
|item = BlueSpiceVisualEditorConnector
}}
}}
==SpecialPages==
{{AutoDocSpecialPages
|SpecialPages = {{AutoDocCallback
|name = PageAccess
|name = PageAccess
|class = SpecialPageAccess
|callback = SpecialPageAccess
}}
}}
{{ExtensionSpecialPagesClose}}
}}
 
==Permissions==
{{ExtensionPermissionsOpen}}
{{AutoDocPermissions
{{ExtensionPermissionsBody
|permissions = {{AutoDocPermission
|permission = pageaccess-viewspecialpage
|name = pageaccess-viewspecialpage
|type = global
|type = global
|roles = admin,<br>maintenanceadmin,<br>structuremanager
|roles = admin, maintenanceadmin, structuremanager
|desc = Zugriff auf die Spezialseite [[Special:PageAccess]]
|desc = {{int:right-pageaccess-viewspecialpage
}}
}}
{{ExtensionPermissionsClose}}
}}
}}
==Config==
{{AutoDocConfig
|config = {{AutoDocOption
|name = PageAccessBlockableActions
|value = <nowiki>array (
  0 => 'read',
  1 => 'edit',
  2 => 'delete',
  3 => 'move',
)</nowiki>
}}
}}
==ApiModules==
{{AutoDocApiModules
|APIModules = {{AutoDocCallback
|name = bs-pageaccess-store
|callback = BSApiPageAccessStore
}}
}}
==Hooks==
{{AutoDocHooks
|Hooks = {{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData]
|callback = \BlueSpice\PageAccess\Hook\BSInsertMagicAjaxGetData\AddPageAccessTag::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSUsageTrackerRegisterCollectors BSUsageTrackerRegisterCollectors]
|callback = \BlueSpice\PageAccess\Hook\BSUsageTrackerRegisterCollectors\AddPageAccessTag::callback
}}
{{AutoDocCallback
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/PageContentSave PageContentSave]
|callback = \BlueSpice\PageAccess\Hook\PageContentSave\EditPageAccess::callback
}}
}}


{{ExtensionConfigOpen}}
{{ExtensionConfigBody
|name = $bsgPageAccessBlockableActions
|defaultValue = <nowiki>["read","edit","delete","move"]</nowiki>
|overrideBy = $bsgOverridePageAccessBlockableActions
}}
{{ExtensionConfigClose}}

Version vom 7. Dezember 2021, 10:53 Uhr

DescriptionMsg

Regelt den Zugriff auf Seitenebene

License

GPL v3

Requirements

  • MediaWiki: 1.35.0
  • BlueSpiceFoundation: 4.0

IntegratesInto

  • BlueSpiceVisualEditorConnector

SpecialPages

  • PageAccess

Permissions

Rechte

Name Beschreibung Rollen
pageaccess-viewspecialpage Zugriff auf die Spezialseite Special:PageAccess admin, maintenanceadmin, structuremanager

Config

Konfiguration

Name Wert
PageAccessBlockableActions array ( 0 => 'read', 1 => 'edit', 2 => 'delete', 3 => 'move', )

ApiModules

API Modules

  • bs-pageaccess-store

Hooks

Hooks