aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index be42d6d3e..b7d3cb1e4 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -424,7 +424,7 @@ public class DataManager {
return Introspector.decapitalize(name) + (!name.contains("Id") ? "Id" : "");
}
- private Collection<Permission> getPermissions(Class<? extends BaseModel> owner, Class<? extends BaseModel> property)
+ public Collection<Permission> getPermissions(Class<? extends BaseModel> owner, Class<? extends BaseModel> property)
throws SQLException, ClassNotFoundException {
return QueryBuilder.create(dataSource, getQuery(ACTION_SELECT_ALL, owner, property))
.executePermissionsQuery();