Mercurial > lada > lada-server
changeset 951:b09a1da741c4
Allow users to create a stammdaten ort.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 25 May 2016 15:06:02 +0200 |
parents | cefa1060b619 |
children | f4ee8cec24f2 |
files | src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java Tue May 10 16:44:27 2016 +0200 +++ b/src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java Wed May 25 15:06:02 2016 +0200 @@ -40,7 +40,8 @@ return (method == RequestMethod.POST || method == RequestMethod.PUT || method == RequestMethod.DELETE) && - userInfo.getFunktionenForNetzbetreiber(id).contains(4); + (userInfo.getFunktionenForNetzbetreiber(id).contains(4) || + clazz.getName().equals("de.intevation.lada.model.stamm.Ort")); } @Override