Comments (1)
This should be possible but you need a multi user authentication setup, and extend the database schema to add references users. So I guess you might need these changes:
- Instead of a single admin user with password, add an entity
User
to database schema and extend the auth system (don't store passwords). - For the entities that you need to be "owned" by a specific user, you can add a column to their tables with a reference to
userId
. - For mutations, grab the logged in user from session and mutate that users records.
The "forking" as you describe would then be to copy a row in the database and set its userId to the new user, also store the original owner on it. Simple enough :)
from editable-website.
Related Issues (17)
- Editing is still painful on iPad HOT 1
- <PlainTextEditor> and <RichTextEditor> fail when rendered on the server side HOT 1
- Support for collections HOT 3
- Static "Mirror" build without the editor tools HOT 4
- Do not use VITE_ variables for private things HOT 1
- Integrate image cropping HOT 1
- Intercept (and upload) pasted images HOT 1
- Add fallback image when loading the img of an <Image> component fails, so we don't kill the layout
- Interested in making a custom CMS with the editors...not sure where to start... HOT 10
- Improve error message on save when not authorized HOT 3
- AMAZING! A few questions about performance and images HOT 1
- Can edit the web page before login HOT 1
- Deployment to Fly.io HOT 5
- Which components/scripts are strictly necessary? HOT 4
- Modifying multiple blog posts from one page HOT 1
- Office gallery.cz offline
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 editable-website.