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.
 
 
 
 
 

18 lines
558 B

extends ../layout.pug
include ../mixins/globalmanagenav.pug
block head
title #{__('Edit Role')}
block content
h1.board-title #{__('Global Management')}
br
+globalmanagenav('roles', true)
hr(size=1)
h4.mv-5 #{__('Edit role %s', __(roleNameMap[rolePermissions.base64]))}
- const jsonPermissions = rolePermissions.toJSON();
.form-wrapper.flexleft
form(action=`/forms/global/editrole` method='POST')
input(type='hidden' name='_csrf' value=csrf)
input(type='hidden' name='roleid' value=role._id)
include ../includes/globalpermissionsform.pug