Draft: feat(security): put /storage behind an auth wall
-
frappe documents -
event's pictures -
posts' pictures
probably requires moving all src/modules/*/utils/permissions.ts
files to src/permissionts/*.ts
, so that src/server/storage.ts
has access to them.
they don't rely on graphql types or functions anyways (afaik) so it shouldn't be a big deal
and it'll make sure we don't have unclear function names like canEdit
that would be confusing when used outside of its own api module anyway
Merge request reports
Activity
️ No Changeset found Latest commit:
Merging this MR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This MR includes no changesets
When changesets are added to this MR, you'll see the packages that this MR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this MR
Generated By Changesets GitLab Bot
Edited by ****