mirror of
https://github.com/outline/outline.git
synced 2026-11-21 13:34:02 +03:00
6 lines
173 B
TypeScript
6 lines
173 B
TypeScript
import { User, Star } from "@server/models";
|
|
import { allow } from "./cancan";
|
|
import { isOwner } from "./utils";
|
|
|
|
allow(User, ["read", "update", "delete"], Star, isOwner);
|