Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorsalamfall
     
    How do I implement a User Authentication System with Akelos knowing that most protected Apps will need to have one with the following BAsic Features (of course with a Database handling the storing of user information (username pass, etc..) .
    User Creations / Registration, Password Reset, password Reminder Usrer Rights / permissions (admin | regular| Guest) or even more advanced Tie it to LDAP

    Thanks
    • CommentAuthorraslam
     
    Hi salamfall,

    I'm also new to akelos. After completing the blog screencast I also set out to implement the User Authentication system. Here is what I did;
    1) created a user controller.
    2) created a member model. Note:- you can create model with name user but I preferred member.
    3) used member_installer.php to create table for member management.
    4) generated scaffold for member model.

    now that your basic user controller and model is generated you can add your own functionalities.
    What I did?
    1) created login, logout and passwordRequest actions in user_controller.php
    2) added a few custom functions in member model
    3) put restriction in blog_controller -> add action to for user session etc.

    and me basic user authentication was complete. You can add more spice to it to meet your requirements.

    hope it helps.

    --
    raslam
    • CommentAuthorsalamfall
     
    Excellent!
    I will try it and give you an Update.

    Maybe a Mod or a contribution to the Akelos Framework that would automate this process would be very useful, since it's as repetitive a functionality to an app as CRUD
    • CommentAuthorOmeZ
     
    Hm, I saw in code of controller reference of accountDomain etc. functions, could somebody decribe me this functions? How I see there's some account features already given
    • CommentAuthorsalamfall
     
    Note sure about it maybe Bermi or someone else can help us with it
    • CommentAuthorraslam
     
    Hi OmeZ,

    not sure what you mean, can u please describe a bit?

    --
    raslam