GithubHelp home page GithubHelp logo

Comments (21)

telemakhos avatar telemakhos commented on June 13, 2024

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.

amobrem avatar amobrem commented on June 13, 2024

@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.

rschwabco avatar rschwabco commented on June 13, 2024

@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.

telemakhos avatar telemakhos commented on June 13, 2024

Awesome @roieki ! 😄

from mean.

amobrem avatar amobrem commented on June 13, 2024

You guys are truly awesome. I cant wait till I become more proficient in the mean stack so I can start helping!

from mean.

davecyen avatar davecyen commented on June 13, 2024

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.

rschwabco avatar rschwabco commented on June 13, 2024

@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.

davecyen avatar davecyen commented on June 13, 2024

Awesome, video would be super helpful. Thanks

from mean.

JonVisc avatar JonVisc commented on June 13, 2024

@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.

cybernet avatar cybernet commented on June 13, 2024

+1

from mean.

cdupoiron avatar cdupoiron commented on June 13, 2024

+1
@JonVisc Did you make any project with admin pages included since you posted?

from mean.

JonVisc avatar JonVisc commented on June 13, 2024

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.

Trevogre avatar Trevogre commented on June 13, 2024

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.

ckapop avatar ckapop commented on June 13, 2024

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.

v4l3r10 avatar v4l3r10 commented on June 13, 2024

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.

ckapop avatar ckapop commented on June 13, 2024

Thank you v4l3r10!

from mean.

trainerbill avatar trainerbill commented on June 13, 2024

@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.

bastianwegge avatar bastianwegge commented on June 13, 2024

+1

from mean.

dillonlara115 avatar dillonlara115 commented on June 13, 2024

+1

from mean.

codydaig avatar codydaig commented on June 13, 2024

#676

from mean.

lirantal avatar lirantal commented on June 13, 2024

definitely @codydaig , thanks for looking into it, closing.

from mean.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.