diff --git a/pom.xml b/pom.xml
index f19ad27..88b6731 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
edu.stanford.protege
webprotege-authorization-service
- 1.0.2
+ 1.0.3
webprotege-authorization-service
A service that checks users are authorized to execute operations in WebProtége
diff --git a/src/main/java/edu/stanford/protege/webprotege/authorization/AccessManagerImpl.java b/src/main/java/edu/stanford/protege/webprotege/authorization/AccessManagerImpl.java
index 669bb7d..0126771 100644
--- a/src/main/java/edu/stanford/protege/webprotege/authorization/AccessManagerImpl.java
+++ b/src/main/java/edu/stanford/protege/webprotege/authorization/AccessManagerImpl.java
@@ -162,7 +162,7 @@ public Collection getSubjectsWithAccessToResource(Resource resource, Ac
private Collection getSubjectsWithAccessToResource(Resource resource, Optional action) {
String projectId = toProjectId(resource);
Query query = query(where(PROJECT_ID).is(projectId));
- action.ifPresent(a -> query.addCriteria(where(ACTION_CLOSURE).in(a.toString())));
+ action.ifPresent(a -> query.addCriteria(where(ACTION_CLOSURE).in(a.id())));
return mongoTemplate.find(query, RoleAssignment.class)
.stream()
.map(ra -> {