mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
6 lines
147 B
TypeScript
6 lines
147 B
TypeScript
export const usePermissions = () => {
|
|
const identity = useCurrentIdentity();
|
|
|
|
return computed(() => identity.value?.permissions ?? []);
|
|
};
|