@mongoosejs/studio 0.0.102 → 0.0.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,7 @@ const UpdateDocumentsParams = new Archetype({
24
24
  module.exports = ({ db }) => async function updateDocuments(params) {
25
25
  const { model, _id, update, roles } = new UpdateDocumentsParams(params);
26
26
 
27
- await authorize('Document.updateDocuments', roles);
27
+ await authorize('Model.updateDocuments', roles);
28
28
 
29
29
  const Model = db.models[model];
30
30
  if (Model == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongoosejs/studio",
3
- "version": "0.0.102",
3
+ "version": "0.0.103",
4
4
  "description": "A sleek, powerful MongoDB UI with built-in dashboarding and auth, seamlessly integrated with your Express, Vercel, or Netlify app.",
5
5
  "homepage": "https://studio.mongoosejs.io/",
6
6
  "repository": {