Comments (8)
I've added a page in the docs for this, if there is anything else that you feel should go there please an issue or PR in the docs repo! :)
from auth.
from auth.
Hmm.. I'm finding out about the not a drop in replacement at the moment too ...
Maybe a list of common things that need to change somewhere.
Stuff like is_member()
that needs to be renamed to is_auth()
And member()
to auth()
, member_meta()
to auth_meta()
from auth.
The procedure is basically: "Is it called member? change it to auth."
I thought it best to be consistent with the renaming, so I renamed all the things.
from auth.
@jadwigo I've been thinking about this one. There is no way for us to automatically fix all of these things, and even if we could fix db tables, config and templates via some god-awful regex or some other method that'd still leave any extensions that depend on the old namespaces and so on.
I'd rather view this as a "spiritual continuation" sort of thing, not a drop-in replacement, and half-assing the migration (only updating the db tables) does not seem productive to me. I'd be very happy to have that SQL in the docs though, it just seems to me like automating it is setting up expectations we won't meet. Does that make sense to you?
from auth.
Yes it makes sense... automating it would probably mean also creating a transpiler for members-addon extensions or something like that.
Maybe a "migrating_from_members.md" in the documentation that outlines the steps you need to do would do the trick.
from auth.
Yep, gonna put that together before I tag :) I'mma keep this issue around to remind me to do it
from auth.
For PostgreSQL you need:
ALTER TABLE bolt_members_account RENAME TO bolt_auth_account;
ALTER TABLE bolt_members_account_meta RENAME TO bolt_auth_account_meta;
ALTER TABLE bolt_members_oauth RENAME TO bolt_auth_oauth;
ALTER TABLE bolt_members_provider RENAME TO bolt_auth_provider;
ALTER TABLE bolt_members_token RENAME TO bolt_auth_token;
ALTER SEQUENCE bolt_members_account_id_seq RENAME TO bolt_auth_account_id_seq;
ALTER SEQUENCE bolt_members_account_meta_id_seq RENAME TO bolt_auth_account_meta_id_seq;
ALTER SEQUENCE bolt_members_oauth_id_seq RENAME TO bolt_auth_oauth_id_seq;
ALTER SEQUENCE bolt_members_provider_id_seq RENAME TO bolt_auth_provider_id_seq;
ALTER SEQUENCE bolt_members_token_id_seq RENAME TO bolt_auth_token_id_seq;
from auth.
Related Issues (20)
- [BUG] github bug report hint is outdated
- [BUG] admin panel not functioning properly HOT 3
- [BUG] Database check says table `bolt_auth_token` is not the correct schema and can't fix it HOT 1
- [BUG] Missing feedback in some forms HOT 5
- [BUG] Install on empty Bolt 3.4 seems to crash Bolt completely? HOT 4
- [BUG] Redirect to FINAL_REDIRECT_KEY dont work HOT 3
- [RFC] LoginPasswordType - Remove password length constraint. HOT 1
- [BUG] Forced redirect after login doesn't redirect
- Missing Translations HOT 1
- [BUG] Pagination not working HOT 5
- [BUG] Newly created accounts can't login even after enabling them. HOT 2
- [BUG] Only "add user" works in admin options - JS error "SyntaxError: missing ) after argument list" HOT 2
- Feedback is not available after redirect
- [RFC] Delete my account function HOT 2
- LDAP? HOT 2
- Use systemwide sendername and email as default sender HOT 4
- Update docs to match new templates
- [BUG] Password Change results in being left out
- [BUG] [Security Issue] you are leaking the OAuth2 client_secret HOT 3
- http://boltauth.com/ not working HOT 1
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 auth.