server_commit

This commit is contained in:
zhengziru
2025-04-23 15:39:17 +08:00
parent 1762f8a384
commit ab4d7eb525
278 changed files with 482 additions and 476 deletions
@@ -537,7 +537,7 @@ layout("/layouts/platform.html"){
}
})
}
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('A06')||@shiro.hasRole('H03')}" === "true") {
if ("${@shiro.hasRole('sysadmin')||@shiro.hasRole('SchoolUnionAdmin')||@shiro.hasRole('H03')}" === "true") {
this.unions = await getUnions(null, false)
} else {
this.unions = await getUnions(null, true)