SGGR#47247 Geen WEB_MLDMGT rechten meer nodig om bijlage te uploaden (achterhalen attributetype)

svn path=/Website/branches/v2017.2/; revision=35777
This commit is contained in:
2017-10-20 13:56:44 +00:00
parent 4f7bfef102
commit 84f1444f24
2 changed files with 4 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ function model_mld_kenmerk(niveau, params)
this.getPropertyType = function (kenmerkdata) this.getPropertyType = function (kenmerkdata)
{ {
var typedata = api2.GET(new model_mld_srtkenmerk(), kenmerkdata.issuepropertytype.id); var typedata = api2.GET(new model_mld_srtkenmerk({internal: params.internal}), kenmerkdata.issuepropertytype.id);
return typedata; return typedata;
} }

View File

@@ -13,14 +13,15 @@
%> %>
<% <%
function model_mld_srtkenmerk() function model_mld_srtkenmerk(params)
{ {
params = params || {};
this.records_name = "issuepropertytypes"; this.records_name = "issuepropertytypes";
this.record_name = "issuepropertytype"; this.record_name = "issuepropertytype";
this.table = "mld_srtkenmerk"; this.table = "mld_srtkenmerk";
this.primary = "mld_srtkenmerk_key"; this.primary = "mld_srtkenmerk_key";
this.soft_delete = "mld_srtkenmerk_verwijder"; this.soft_delete = "mld_srtkenmerk_verwijder";
this.autfunction = "WEB_MLDMGT"; this.autfunction = params.internal?false:"WEB_MLDMGT";
this.record_title = L("mld_srtkenmerk"); this.record_title = L("mld_srtkenmerk");
this.records_title = L("mld_srtkenmerk_m"); this.records_title = L("mld_srtkenmerk_m");