ENTAXY-248 release 1.8.1
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>ru.entaxy.esb.system.core.permission</groupId>
|
||||
<artifactId>permission</artifactId>
|
||||
<version>1.8.0</version>
|
||||
<version>1.8.1</version>
|
||||
<relativePath>../../security/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
@ -20,6 +20,10 @@
|
||||
<bundle.osgi.export.pkg>
|
||||
ru.entaxy.esb.system.core.permission.jpa.entity
|
||||
</bundle.osgi.export.pkg>
|
||||
<!-- bundle.osgi.private.pkg>
|
||||
ru.entaxy.esb.system.core.permission.interceptor,
|
||||
ru.entaxy.esb.system.core.permission.jpa.impl
|
||||
</bundle.osgi.private.pkg -->
|
||||
<bundle.osgi.import.pkg>
|
||||
javax.xml.bind;version="[2,3)",
|
||||
javax.xml.bind.annotation;version="[2,3)",
|
||||
@ -38,7 +42,6 @@
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>osgi.core</artifactId>
|
||||
<version>${osgi.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -106,7 +106,7 @@ public class PermissionServiceImpl implements PermissionService {
|
||||
builder.equal(root.get("objectType"), type)),
|
||||
builder.and(
|
||||
builder.equal(root.get("subjectId"), String.valueOf(id)),
|
||||
builder.equal(root.get("objectType"), type))));
|
||||
builder.equal(root.get("subjectType"), type))));
|
||||
|
||||
return s.createQuery(criteriaQuery).getResultList();
|
||||
}
|
||||
|
Reference in New Issue
Block a user