Comments (21)
An Admin Control Panel was in the ToDo list (I read it somewhere)...
This is exactly how I envision a badass MEAN starter. It would be so cool to add some of the drywall features (complete accounts workflow, basic admin control panel, role and basic user management, example form with csrf and email, etc). My wet dream also includes websockets in the mix... lol
I think it is pretty doable via modules/packages. We just need a stable architecture for the core project.
from mean.
@telemakhos I was just going to ask for socket io support like: https://github.com/jedireza/drywall/wiki/Going-Realtime-with-Socket.IO
from mean.
@telemakhos We are working on the Admin control panel, and we'll hopefully be able to release it soon. @amobrem - socket.io integration is definitely add to the generator, since some users might not want to install it by default.
from mean.
Awesome @roieki ! 😄
from mean.
You guys are truly awesome. I cant wait till I become more proficient in the mean stack so I can start helping!
from mean.
Hey there, is an admin control panel still on the roadmap? Would be super helpful!
Is there any documentation or examples on how to assign and customize user roles?
from mean.
@davecyen yes, the admin control panel is still on the roadmap. I'm working on a new video that would include some more advanced topics, and I believe I'm going to cover authentication and roles as well.
from mean.
Awesome, video would be super helpful. Thanks
from mean.
@roieki Do you have an update on when you will have that video or even if you have a fork of any roles based work for meanjs? I am going to get started on it myself, but if there is already work done on it I'd rather start there. If not far enough long yet to publish then no big deal. Thanks for all the work so far!
from mean.
+1
from mean.
+1
@JonVisc Did you make any project with admin pages included since you posted?
from mean.
I started to but have only like 1 true day of solid dev on the implementation before I was pulled off onto different things. :-/ Sorry for the let down.
from mean.
Is there a design for the admin pages, or a feature list. I'm going to have to work on something for my current project. I'd like to not get too far off the path. I suppose I could attempt to contribute something.
I think I need add user / and edit user for the admin. Roles other than admin would be nice but I don't think necessary for the version of mean that I'm using since the permissions are mostly manually added in a final project.
from mean.
I noticed user roles were added to the User model: http://meanjs.org/changelog.html
Is there any documentation on the best way to use this feature? I do not think the generator supports it yet.
from mean.
in 0.3 i have found a user.hasAuthorization module that helped me to make an ACL system for REST:
app.route('/sales/:saleId')
.get(sales.read)
.put(users.requiresLogin, users.hasAuthorization(['admin']), sales.update)
.delete(users.requiresLogin, users.hasAuthorization(['admin']), sales.delete);
in user.roles model i have added different roles
and in angularjs app added a new module called "admin" and filter it on menu with:
// Admin module config
angular.module('admin').run(['Menus',
function(Menus) {
Menus.addMenuItem('topbar', 'Admin', 'admin','dropdown',undefined,false,['admin']);
Menus.addSubMenuItem('topbar', 'admin', 'Sale', 'admin/sales');
Menus.addSubMenuItem('topbar', 'admin', 'Provider', 'admin/providers');
Menus.addSubMenuItem('topbar', 'admin', 'User', 'admin/users');
}
]);
addMenuItem accept a param that as an array of ROLES
from mean.
Thank you v4l3r10!
from mean.
@roieki I made a small admin module to handle some user CRUD functions:
https://github.com/trainerbill/mean/tree/AdminConsole
Was wondering if you or someone on the project wanted to take a look and provide feedback.
from mean.
+1
from mean.
+1
from mean.
from mean.
definitely @codydaig , thanks for looking into it, closing.
from mean.
Related Issues (20)
- tion HOT 1
- Is MEAN.js still maintained? HOT 8
- missing apt package to install
- error when deploy to heroku
- Gulp tasks broken after upgrading to Gulp v4
- Travis CI fails on Windows build
- "npm install" fails on macOS mojave HOT 1
- npm install fails with "error: ‘class v8::Object’ has no member named ‘ForceSet’" on node-sass with node v10.15.1 HOT 5
- How is the Authentication process working in the meanjs? Where does the process flow starts when a website is loaded which file gets loaded and what are the files that are called in an orderly manner while checking authenicaton?
- Any free server available for deploy small mean stack application.
- Is MEAN.JS planning to upgrade framework with Angular2+ if yes then when it could be done if not then what about AngularJS abandaon thing?
- npm install error according the mean's doc! HOT 1
- How to connect two different databases from mongoose for the same project HOT 2
- Improving speed of MEAN Stack application HOT 1
- RPi4 ubuntu-standard default installation permission issue HOT 1
- Getting started guide using mac doesn't work HOT 2
- Getting errors on npm install and npm start on Windows HOT 5
- meanjs stack failled submit form
- meanjs stack failled submit HOT 7
- Question about Future 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 mean.