instant-cli
Advanced tools
Comparing version 0.12.1 to 0.12.2
25
index.js
@@ -566,11 +566,30 @@ // @ts-check | ||
const examplePermsTmpl = /* ts */ `export default { | ||
authors: { | ||
bind: ["isAuthor", "auth.id == data.userId"], | ||
allow: { | ||
view: "true", | ||
create: "isAuthor", | ||
update: "isAuthor", | ||
delete: "isAuthor", | ||
}, | ||
}, | ||
posts: { | ||
bind: ["isAuthor", "auth.id in data.ref('authors.userId')"], | ||
allow: { | ||
view: "true", | ||
create: "true", | ||
update: "true", | ||
delete: "true", | ||
create: "isAuthor", | ||
update: "isAuthor", | ||
delete: "isAuthor", | ||
}, | ||
}, | ||
tags: { | ||
bind: ["isOwner", "auth.id in data.ref('posts.authors.userId')"], | ||
allow: { | ||
view: "true", | ||
create: "isOwner", | ||
update: "isOwner", | ||
delete: "isOwner", | ||
}, | ||
}, | ||
}; | ||
`; |
{ | ||
"name": "instant-cli", | ||
"type": "module", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "Instant's CLI", | ||
@@ -6,0 +6,0 @@ "scripts": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
14094
493
6