Commit 1fa67955 authored by Matija Obreza's avatar Matija Obreza
Browse files

Utils: Fixed incorrect call

parent b8d50c9f
......@@ -206,7 +206,7 @@ public class SecurityContextUtil {
*/
public static boolean hasPermission(Object targetDomainObject, Object permission) {
final Authentication auth = SecurityContextHolder.getContext().getAuthentication();
return permissionEvaluator.hasPermission(auth, targetDomainObject, permission);
return hasPermission(auth, targetDomainObject, permission);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment