feat: mirror v-can guard chains
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
const granted = new Set<string>([])
|
||||
|
||||
export function __can__(...path: string[]) {
|
||||
const key = path.join('.')
|
||||
return granted.has(key)
|
||||
}
|
||||
Reference in New Issue
Block a user