FSN#35817 Autorisaties via API2/Scaffolding fixjes

svn path=/Website/trunk/; revision=28723
This commit is contained in:
Jos Groot Lipman
2016-03-31 16:07:23 +00:00
parent da726d91d3
commit b007cd357c
2 changed files with 3 additions and 1 deletions

View File

@@ -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");

View File

@@ -90,5 +90,7 @@
"authorization.alg_level_write"
);
}
else
scf_params.search.filters.push("name");
scaffolding(model, scf_params);
%>