Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple Of Questions #38

Closed
abomadi opened this issue Apr 5, 2017 · 9 comments
Closed

Couple Of Questions #38

abomadi opened this issue Apr 5, 2017 · 9 comments

Comments

@abomadi
Copy link

abomadi commented Apr 5, 2017

Thanks for this amazing platform @Gottwik , however i couldn't find anywhere else to ask a couple of questions except for here.

  • Can we extend the login system ? such as more user types (admin, user etc ...)
  • Extending User properties such as profiles ?
  • External OpenID Social Logins such as Facebook , google etc..
  • Connect the membership repository to a database for more security ?
  • Can we user AngularJS2 modules under it , i have seen an example for Angular1 so far
  • Is there any example showing how to build a custom module under Enduro by implementing an backend api's from cross origin ?
@dwehrmann
Copy link

+1 on extending the login system. User roles for front- and backend would be a blast.

@Gottwik
Copy link
Owner

Gottwik commented Apr 5, 2017

hey @abomadi , wow thank you for the recognition.

Can you extend the login system
Yes, my bad for not documenting it. Check it out here: http://www.endurojs.com/docs/admin-extensions.

Extending User properties such as profiles
This is a great idea, might add complexity though. If you ever need this, let me know or feel free to implement this

External OpenID Social Logins such as Facebook , google etc
Love this!

Connect the membership repository to a database for more security
I don't get this one. Could you explain more?

Can we user AngularJS2
Not sure. Guessing not. The admin interface is built with angular 1. I wouldn't mind if anybody explored this.

Is there any example showing how to build a custom module under Enduro by implementing an backend api's from cross origin ?
Not sure what you mean. The express app is available in the /app/app.js file, so you can create routes from there. For more complex backend with enduro.js see this: https://github.com/Gottwik/legolabels/tree/master/app

In general I tried to keep the framework as lightweight as possible, so it's easy to use, however I would welcome any feature requests or pull requests.

@dwehrmann
Copy link

dwehrmann commented Apr 7, 2017

Extending User properties such as profiles
This is a great idea, might add complexity though. If you ever need this, let me know or feel free to implement this

Actually we're just considering Enduro for a major client project – could you expand on that issue? Any hints would be greatly welcome.

@abomadi
Copy link
Author

abomadi commented Apr 9, 2017

@Gottwik
Can we user AngularJS2
Not sure. Guessing not. The admin interface is built with angular 1. I wouldn't mind if anybody explored this.
I mean do u have any running example using angular2 ?

Connect the membership repository to a database for more security
I don't get this one. Could you explain more?
Currently users where are they stored ? on flat file or DB store ?

Can you extend the login system
Yes, my bad for not documenting it. Check it out here: http://www.endurojs.com/docs/admin-extensions.
Thank you but it does not help on to build that .js file to be injected ready to that folder

again this is a great project and very simple but i guess the above feature will boost the use of this app, for my self i am considering to use it but at least with those features included, ofc once we start we will do some pr's for our newly made stuff

@Gottwik
Copy link
Owner

Gottwik commented Apr 9, 2017

@dwehrmann Nice to hear that. Feel free to let me know if you have any concerns. Enduro should be stable enough.

I implemented user rights because I wanted to have a demo user who can't save anything. There are many options to extend this for example each user could have a name and profile image, which could be shown on blog entry written by this user. I am happy to implement this if anybody has a use case for this.

Other feature would be to have multiple user roles and some roles could not edit some cms properties. This would allow for somebody to write a blog article but somebody else would have to publish this.

@Gottwik
Copy link
Owner

Gottwik commented Apr 9, 2017

@abomadi

Angular 2
No. Never tried angular 2. I don't see why it wouldn't work though since it's a frontend thing, not really connected to enduro.

Where are the users stored
They are stored in flat file called .users. It's hashed and salted. Should be reasonably secure. No database in enduro.

Can you extend the login system
What feature would you like to see? Could you provide a use case? I am happy to implement anything that would be useful to you or anybody else.

@archcra
Copy link

archcra commented Jul 12, 2017

The link is broken:
screen shot 2017-07-12 at 3 59 19 pm

@Gottwik
Copy link
Owner

Gottwik commented Aug 4, 2017

@Gottwik Gottwik closed this as completed Aug 4, 2017
@matticoli
Copy link

@Gottwik Would you consider linking this on the documentation page? We were about to switch to another CMS and found this issue via google search, it's a really cool and useful feature that I think a lot of users would benefit from!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants