jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
extends ../layout.pug
|
|
|
|
include ../mixins/globalmanagenav.pug
|
|
|
|
|
|
|
|
block head
|
|
|
|
title #{__('Roles')}
|
|
|
|
|
|
|
|
block content
|
|
|
|
h1.board-title #{__('Global Management')}
|
|
|
|
br
|
|
|
|
+globalmanagenav('roles')
|
|
|
|
hr(size=1)
|
|
|
|
h4.mv-5 #{__('Roles')}:
|
|
|
|
.table-container.flex-left.text-center
|
|
|
|
table
|
|
|
|
tr
|
|
|
|
th #{__('Role')}
|
|
|
|
th #{__('Permissions')}
|
|
|
|
for role in allRoles
|
|
|
|
tr
|
|
|
|
td #{roleNameMap[role.permissions.toString('base64')]}
|
|
|
|
td: a(href=`/globalmanage/editrole/${role._id}.html`) [#{__('Edit')}]
|
|
|
|
|