AKZA#36723 INS: Autorisatie voor objectbeheerder: alleen eigen objecten bewerken.
svn path=/Website/branches/v2016.3/; revision=32322
This commit is contained in:
@@ -179,7 +179,7 @@ else
|
|||||||
|
|
||||||
// De schrijfrechten controleren i.v.m. discipline en alg scope
|
// De schrijfrechten controleren i.v.m. discipline en alg scope
|
||||||
var iresult = ins.func_enabled_scope(disc_key, bind, bind_key);
|
var iresult = ins.func_enabled_scope(disc_key, bind, bind_key);
|
||||||
if (!iresult || !iresult.canChange || !iresult.canChangeOwn)
|
if (!iresult || !iresult.canChange)
|
||||||
abort_with_warning(L("lcl_obj_notallowed")); // combinatie niet toegestaan
|
abort_with_warning(L("lcl_obj_notallowed")); // combinatie niet toegestaan
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user