FSN#35817 Autorisaties via API2/Scaffolding fixjes
svn path=/Website/trunk/; revision=28723
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -90,5 +90,7 @@
|
||||
"authorization.alg_level_write"
|
||||
);
|
||||
}
|
||||
else
|
||||
scf_params.search.filters.push("name");
|
||||
scaffolding(model, scf_params);
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user