Skip to content

Commit

Permalink
Permissions for AsyncFile are added. But it is not enough to give an …
Browse files Browse the repository at this point in the history
…ability to drop files to all users.
  • Loading branch information
Konard committed Aug 6, 2023
1 parent d8b468b commit 0edeac7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions migrations/1642827746040-demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,14 @@ export const up = async () => {
to_id: await deep.id('@deep-foundation/core', 'containTree'),
} },
},
{
type_id: await deep.id('@deep-foundation/core', 'SelectorInclude'),
to_id: await deep.id('@deep-foundation/core', 'AsyncFile'),
out: { data: {
type_id: await deep.id('@deep-foundation/core', 'SelectorTree'),
to_id: await deep.id('@deep-foundation/core', 'containTree'),
} },
},
];
await insertRule('usersCanInsertSafeLinks', admin, {
subject: usersWhere,
Expand Down

0 comments on commit 0edeac7

Please sign in to comment.