From b007cd357c002f6d86974f329dea8b8595e96d76 Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Thu, 31 Mar 2016 16:07:23 +0000 Subject: [PATCH] FSN#35817 Autorisaties via API2/Scaffolding fixjes svn path=/Website/trunk/; revision=28723 --- APPL/API2/model_fac_groeprechten.inc | 2 +- APPL/MGT/fac_functie.asp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/APPL/API2/model_fac_groeprechten.inc b/APPL/API2/model_fac_groeprechten.inc index 30fbf6f1c1..2f450b0c9e 100644 --- a/APPL/API2/model_fac_groeprechten.inc +++ b/APPL/API2/model_fac_groeprechten.inc @@ -203,7 +203,7 @@ function model_fac_groeprechten (params) this.min_level = oRs("fac_functie_min_level").Value; this.total_disc = oRs("nn_disc").Value; oRs.Close(); - if (!(min_level & (4 | 8))) + if (!(this.min_level & (4 | 8))) { this.fields["prs_level_read"].label = L("fac_gebruiker_lezen"); // Generiekere labels this.fields["prs_level_write"].label = L("fac_gebruiker_schrijven"); diff --git a/APPL/MGT/fac_functie.asp b/APPL/MGT/fac_functie.asp index cb1959aacd..662d6dbeef 100644 --- a/APPL/MGT/fac_functie.asp +++ b/APPL/MGT/fac_functie.asp @@ -90,5 +90,7 @@ "authorization.alg_level_write" ); } + else + scf_params.search.filters.push("name"); scaffolding(model, scf_params); %>