Revision 1d6bc341
Added by Katja Luther almost 13 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IService.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
import org.hibernate.LockMode; |
21 | 21 |
import org.hibernate.Session; |
22 |
import org.springframework.security.access.prepost.PreFilter; |
|
22 | 23 |
|
23 | 24 |
import eu.etaxonomy.cdm.api.service.pager.Pager; |
24 | 25 |
import eu.etaxonomy.cdm.model.common.ICdmBase; |
... | ... | |
228 | 229 |
* @param transientObject the entity to be persisted |
229 | 230 |
* @return The unique identifier of the persisted entity |
230 | 231 |
*/ |
232 |
//@PreFilter("hasPermission(filterObject, 'edit')") |
|
231 | 233 |
public UUID saveOrUpdate(T transientObject); |
232 | 234 |
|
233 | 235 |
/** |
Also available in: Unified diff
adding permission handling and writing a test for usermanagement