@harperdb/acl-connect
Advanced tools
Comparing version
@@ -105,2 +105,13 @@ import { findTopicsForUser, mqttPermissionCheck } from './permission.js'; | ||
} | ||
/** | ||
* Check if the user is allowed to update the topic (resource) | ||
* @param user | ||
* @param query | ||
* @param context | ||
* @return {*|boolean} | ||
*/ | ||
allowUpdate(user, query, context) { | ||
return this.allowCreate(user, query, context); | ||
} | ||
} | ||
@@ -107,0 +118,0 @@ } |
{ | ||
"name": "@harperdb/acl-connect", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A component for defining pub/sub (MQTT) topics and their access control lists (ACLs) in HarperDB", | ||
"type": "module" | ||
} |
16606
0.83%329
3.13%