@anievo-id/rbac-evolution-vue 0.6.4 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
📖 **[Documentation](https://app.anievo.id/rbac-evolution/frameworks/vue)**
|
|
4
4
|
|
|
5
|
-
Vue 3 bindings for [rbac-evolution](
|
|
5
|
+
Vue 3 bindings for [rbac-evolution](https://github.com/AniEvo-ID/rbac-evolution): a `v-can` / `v-role` directive, `<Can>` / `<HasRole>` components,
|
|
6
6
|
composables and template helpers — the Vue counterpart of spatie/laravel-permission's `@can` / `@role` Blade directives.
|
|
7
7
|
|
|
8
8
|
> **Security note:** everything in this package runs in the browser and only decides what the UI *shows*.
|
|
9
9
|
> A user can always edit client-side state. **Always enforce authorization on the server**
|
|
10
|
-
> (e.g. with [`@anievo-id/rbac-evolution-express`](
|
|
10
|
+
> (e.g. with [`@anievo-id/rbac-evolution-express`](https://www.npmjs.com/package/@anievo-id/rbac-evolution-express)).
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
13
|
npm i @anievo-id/rbac-evolution @anievo-id/rbac-evolution-vue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anievo-id/rbac-evolution-vue",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Vue 3 bindings for rbac-evolution: v-can directive & composables.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AniEvo-ID (https://github.com/AniEvo-ID)",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@anievo-id/rbac-evolution": "^0.6.
|
|
50
|
+
"@anievo-id/rbac-evolution": "^0.6.6"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"vue": ">=3.3"
|