BGBM BDI Projects
/
cdmlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ref #7597 Use LongRunningTaskService for taxon aggregation
[cdmlib.git]
/
cdmlib-services
/
src
/
main
/
java
/
eu
/
etaxonomy
/
cdm
/
api
/
utility
/
UserHelper.java
diff --git
a/cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/UserHelper.java
b/cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/UserHelper.java
index df6437ddf9ac20ada00f31cd00b792350e33c31b..49419ff6519fddef87207f1a87282265846b7c80 100644
(file)
--- a/
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/UserHelper.java
+++ b/
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/UserHelper.java
@@
-36,8
+36,6
@@
public interface UserHelper {
boolean userHasPermission(CdmBase entity, Object ... args);
- boolean userIsAdmin();
-
User user();
String userName();
@@
-46,6
+44,10
@@
public interface UserHelper {
boolean userIsAutheticated();
+ boolean userIsAdmin();
+
+ boolean userIs(RoleProbe roleProbe);
+
/**
*
* @param username