FSN#38541 Technische adressen frame geeft autorisatie boodschap

svn path=/Website/trunk/; revision=31657
This commit is contained in:
Ruud Lipper
2016-11-24 11:00:28 +00:00
parent acc6163c7d
commit 2c45fee9fb

View File

@@ -110,7 +110,7 @@ var dienstauthparams = user.checkAutorisation("WEB_PRSMSU", true);
IFRAMER("prsFrame", page, { initHeight: "450px",
FcltClose: "bedrijfClose" } );
if ( bedrijf_key > -1 && !isIntern)
if ( bedrijf_key > -1 && !isIntern && user.checkAutorisation("WEB_RELUSE", true))
{ // 2. De contactpersonen
page = "prs_contactpersoon_search_list.asp?embedded=1&bedrijf_key=" + bedrijf_key;
IFRAMER("prscontactpersonen", page, { refreshOnClose: true, initHide: true } );
@@ -121,7 +121,7 @@ var dienstauthparams = user.checkAutorisation("WEB_PRSMSU", true);
page = "prs_dienstloc_list.asp?embedded=1&bedrijf_key=" + bedrijf_key;
IFRAMER("prsdiensten", page, { refreshOnClose: true, initHide: true } );
}
if ( bedrijf_key > -1 && canHaveAddresses && (user.checkAutorisation("WEB_PRSSYS", true) || user.checkAutorisation("WEB_PRSMGT", true)))
if ( bedrijf_key > -1 && canHaveAddresses && user.checkAutorisation("WEB_PRSMGT", true))
{
// 4. De technische adressen
page = "prs_bedrijfadres_list.asp?bedrijf_key=" + bedrijf_key;