Comments (3)
Regarding private pages, it needs #49 and #71 needs to progress a bit until we get a proper architecture.
from vulcan-next.
Regarding role management, we should probably keep Vulcan NPM as-is: simply include "guests" (or "anyone"), "members" and "admin" groups.
Then, instead of trying to add groups into Vulcan, we could make it possible to build a role based security system inside Vulcan Next instead.
from vulcan-next.
@Timi-Duban in the short run, we would need to add new endpoint to have the same features as described here in VulcanMeteor: https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-users/lib/server/mutations.js
In Vulcan Meteor, we rely on Meteor Accounts (see https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-users/lib/server/AuthPassword.js).
In Vulcan Next, we rely on passport, so lower level but more powerful library.
Also, currently, we don't use graphql for auth, but normal REST endpoint (see existing entry points for "logout", "login", and "signup") => we can keep doing that for now.
The most difficult part is handling e-mails, for user verification ,password change and so on. During developement, we should probably "fake" this part and just log the email in the server console. I'll take care of introducing more robust mailing system.
from vulcan-next.
Related Issues (20)
- Run on StackBlitz
- RFC: Windows support HOT 3
- Admin password not seeded as expected + send password reset email instead of verififcation HOT 1
- Use new tsconfigPath option
- Is there a way to write API schemas in Vulcan Next? HOT 4
- Provide a cache invalidation endpoint for static builds
- prisma & vulcan-next HOT 1
- Setup a pre-commit secret leak check
- React component scaffolding
- Implemented Apollo persisted queries
- Switch to Vite builder for storybook HOT 1
- Prefer tsup to ncc HOT 2
- VulcanForms v2 - random ideas & discussions HOT 1
- vulcan-next vs other fullstack react frameworks HOT 5
- Email templates
- Vulcan next & MERN HOT 2
- ObjectIds and Strings should both work with useUpdate and filters HOT 9
- Error when logging in: The "salt" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undefined HOT 1
- Is project active? HOT 1
- Assertion failed !!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulcan-next.