Comments (7)
this is being worked on right now #194
please comment on the pr and explain if that specification fits your use cases
from cromwell.
Thanks, fair requirements! I'll work on my PR to add signup role and custom fields features.
@faierbol can you pls explain the part:
select which fields will be used when signup
How do we use them?
from cromwell.
@playrich any entity has isEnabled
flag. You can use it on the frontend to disable the role. I'll configure backend to reject such role for auth
from cromwell.
Thanks, fair requirements! I'll work on my PR to add signup role and custom fields features. @faierbol can you pls explain the part:
select which fields will be used when signup
How do we use them?
i was thinking as follows: create a role > assign permissions > chose if this role can be used when registering the site, basically ïsEnabledForRegistering field or something like this.
from cromwell.
besides permissions we would be able to select or create new fields for this role like instead of name a custom role will have company name, now when creating a custom role the entire flow will be as follows: create. anew role > assign permissions > create or select existing fields (username, name, password etc) > chose if this role can be used when registering the site, basically ïsEnabledForRegistering > chose what fields will be displayed when registering on the frontend signup form, if registration is enabled for this role
from cromwell.
besides permissions we would be able to select or create new fields for this role like instead of name a custom role will have company name, now when creating a custom role the entire flow will be as follows: create. anew role > assign permissions > create or select existing fields (username, name, password etc) > chose if this role can be used when registering the site, basically ïsEnabledForRegistering > chose what fields will be displayed when registering on the frontend signup form, if registration is enabled for this role
this is theme related and theme authors can implement this feature
the cms itself will be able to handle this case
signup forms on the theme are something that the base system should not care about
from cromwell.
@playrich right, theme authors can configure these forms. Another part of the question is what roles backend should accept for signup. Right now there's one signup role customer
, but after refactor this role can be removed and created several new.
So we need to have isEnabledForRegistering in roles table, or maybe have a list of these roles in CMS settings?
from cromwell.
Related Issues (20)
- CDN integrations
- Internalization support HOT 4
- Coupons HOT 1
- Text editor markdown support
- Server migration issue for mysql
- support for tailwind css HOT 2
- Sortable menu items in Main menu plugin HOT 2
- Who to contact for security issues HOT 6
- Production Ready? HOT 1
- Check slug uniqueness HOT 1
- Remove/ hide the shop details from admin panel HOT 4
- Custom data fields for variants
- Spaces in paths of static files break admin media
- Allow image uploading from external web URL
- Cromwell cli install always fails at 2/4
- About installation HOT 1
- Still supported? HOT 3
- Example applications not available HOT 1
- Cannot using npx @cromwell to initialize app, theme or plugin
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 cromwell.