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/mypermissions.pug
|
|
|
|
|
|
|
|
block head
|
|
|
|
title My Permisions
|
|
|
|
|
|
|
|
block content
|
|
|
|
.board-header
|
|
|
|
h1.board-title My Permissions
|
|
|
|
br
|
|
|
|
hr(size=1)
|
|
|
|
h4.no-m-p Board-specific permissions
|
|
|
|
if user.ownedBoards && user.ownedBoards.length > 0 || user.staffBoards && user.staffBoards.length > 0
|
|
|
|
ul
|
|
|
|
for b in user.ownedBoards
|
|
|
|
li
|
|
|
|
a(href=`/${b}/manage/mypermissions.html`) /#{b}/
|
|
|
|
for b in user.staffBoards
|
|
|
|
li
|
|
|
|
a(href=`/${b}/manage/mypermissions.html`) /#{b}/
|
|
|
|
else
|
|
|
|
p None
|
|
|
|
hr(size=1)
|
|
|
|
h4.mv-5 Account permissions
|
|
|
|
|
|
|
|
|
if permissions.get(Permissions.MANAGE_GLOBAL_ACCOUNTS)
|
|
|
|
|
|
|
|
|
a(href=`/globalmanage/editaccount/${user.username}.html`) [Edit]
|
|
|
|
- const jsonPermissions = permissions.toJSON();
|
|
|
|
+mypermissions(jsonPermissions)
|