mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed HelpELCode page permission with guest menus
SVN revision: 1592
This commit is contained in:
parent
25b16f2257
commit
7c7f13c8e8
@ -15081,6 +15081,8 @@ BOOL is_command_allowed(LOGBOOK * lbs, char *command)
|
|||||||
strcat(menu_str, ", ");
|
strcat(menu_str, ", ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strcat(menu_str, "HelpELCode, ");
|
||||||
|
|
||||||
if (is_admin_user(lbs->name, getparam("unm"))) {
|
if (is_admin_user(lbs->name, getparam("unm"))) {
|
||||||
|
|
||||||
if (getcfg(lbs->name, "Mirror server", str, sizeof(str)))
|
if (getcfg(lbs->name, "Mirror server", str, sizeof(str)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user