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.

32 lines
1.0 KiB

extends ../layout.pug
include ../mixins/globalmanagenav.pug
block head
title Edit Account
block content
h1.board-title Global Management
br
+globalmanagenav('accounts', true)
hr(size=1)
h4.mv-5 Edit account permissions for "#{accountUsername}"
- const jsonPermissions = accountPermissions.toJSON();
.form-wrapper.flexleft
form(action=`/forms/global/editaccount` method='POST')
input(type='hidden' name='_csrf' value=csrf)
input(type='hidden' name='username' value=accountUsername)
include ../includes/globalpermissionsform.pug
hr(size=1)
h4.mv-5 Or, apply a role:
.row
.label Role
select(name='template')
option(disabled selected) None
//-limiting which ones atm
option(value=roles.ANON.base64) Regular User
option(value=roles.BOARD_STAFF.base64) Global Board Staff
option(value=roles.BOARD_OWNER.base64) Global Board Owner
option(value=roles.GLOBAL_STAFF.base64) Global Staff
option(value=roles.ADMIN.base64) Admin
input(type='submit', value='Apply')