Module:Protection banner/config: Difference between revisions
add hierarchy
(remove Template:Pp-protected from the wrappers table, as it is now a redirect to Template:Pp) |
(add hierarchy) |
||
Line 801: | Line 801: | ||
['indefinitely'] = true, | ['indefinitely'] = true, | ||
['infinite'] = true, | ['infinite'] = true, | ||
}, | |||
-------------------------------------------------------------------------------- | |||
-- Group hierarchy | |||
-------------------------------------------------------------------------------- | |||
-- This table maps each group to all groups that have a superset of the original | |||
-- group's page editing permissions. | |||
hierarchy = { | |||
sysop = {}, | |||
reviewer = {'sysop'}, | |||
filemover = {'sysop'}, | |||
templateeditor = {'sysop'}, | |||
accountcreator = {'templateeditor'}, | |||
autoconfirmed = {'reviewer', 'filemover', 'accountcreator'}, | |||
user = {'autoconfirmed'}, | |||
['*'] = {'user'} | |||
}, | }, | ||