AAIT#57961 iets minder streng op bewerken oslogin _COM4
svn path=/Website/branches/v2019.1/; revision=42728
This commit is contained in:
@@ -259,9 +259,10 @@ if (prs_key > 0) // Fotoblokje alleen bij bestaande records
|
||||
useRWFIELD("prs_mobiel", "fld", L("lcl_prs_person_mobile"), prs_mobiel, {maxlength: 15});
|
||||
manRWFIELD("prs_email", "fld", L("lcl_prs_person_email"), prs_email, {maxlength: 200});
|
||||
}
|
||||
var protected_login = ["_FACILITOR", "_HMAIL", "_PUTORDERS"];
|
||||
if (prsauthparams.writesys || (S("prs_mgt_edit_login") && xfunc.canWrite("WEB_FACMGT")))
|
||||
{
|
||||
if (prs_oslog && prs_oslog.substr(0, 1) == "_" && !user.has("WEB_FACFAC"))
|
||||
if (prs_oslog && inArray(prs_oslog.toUpperCase(), protected_login) && !user.has("WEB_FACFAC"))
|
||||
{
|
||||
ROFIELDTR("fld", L("lcl_prs_person_login"), prs_oslog, {suppressEmpty: true});
|
||||
ROFIELDTR("fld", L("lcl_prs_person_login2"), prs_oslog2, {suppressEmpty: true});
|
||||
|
||||
Reference in New Issue
Block a user