Search
Search
managedBy
managedBy
Returns who manages the Collection
const collection = await framer.getActiveCollection() if (framer.mode === "collection" && collection.managedBy !== "user") { framer.notify("This Collection cannot be modified.", { variant: "warning" }); }
Type
string– Returns who manages the Collection:userif the Collection is user-created.thisPluginif the Collection is managed by the current Plugin.anotherPluginif the Collection is managed by another Plugin.
Caveats
Plugin still needs to check if a user have the Permission to edit content via
framer.isAllowedTo.