Menu

I built vue-rbac — a full-featured RBAC library for Vue 3 with guard component, TTL cache and more. Feedback & contributors welcome!
📰
0

I built vue-rbac — a full-featured RBAC library for Vue 3 with guard component, TTL cache and more. Feedback & contributors welcome!

Reddit r/vuejs·u/Confident_Act5884·about 1 month ago
#oYS9LFei
#rbac#posts#admin#roles#create#article
Reading 0:00
15s threshold

I built vue-rbac — a full-featured RBAC library for Vue 3 with guard component, TTL cache and more. Feedback & contributors welcome! Hey There! Authorization logic is one of those things that starts simple and ends up scattered everywhere - `v-if="user.role === 'admin'"` in 40 different components, no inheritance, no fallback states. I've been there too many times, so I built **vue-rbac** to fix it properly. **What it does** vue-rbac is a lightweight, dependency-free RBAC plugin for Vue 3 that gives you a consistent, declarative way to handle roles and permissions.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More