Lucio,
I don't have yet my changes in public repository so I cannot share it but when I finish what I mentioned above then let you know. Before submition to trunk do code review first :) I don't have a lot of free time so maybe I will do that during this weekend.
Do you think that is good approach and awaited solution? I think such things should be available in vosao without additonal plugins...
Thanks guys,
Looks like vasao development is reactivated ;)
* password recovery is working for site-users now. * added password recovery url to cms page configuration. * added couple of additional methods to loginFrontService which are available for site-users (passwordRecovery, changePassword, getUserInfo) * fixed build-js.bat (was broken and main.min.js file was not generated)
LimitedUserServiceImpl.select()This method allows to retrieve all users from CMS rquested by site users and maybe even for not logged. This looks like high security issue. I'm not sure what are requirements for your web site (portal) but better lock this possibility and only logged user shall select only own information. That is my opinion.
Emanuele,
Good job! Looks ok but I have some doubts. First one regardingLimitedUserServiceImpl.select()This method allows to retrieve all users from CMS rquested by site users and maybe even for not logged. This looks like high security issue. I'm not sure what are requirements for your web site (portal) but better lock this possibility and only logged user shall select only own information. That is my opinion.
Good point on select but you know half of the story.
We've added an extra authorisation level to Groups. Users can be READ, WRITE, ADMIN for a Group (just an extra field for UserGroupEntity). In that context, it makes sense for some users to be able to use select(). My select is customised based on a User right per project.
I haven't published this change but we can discuss it if other people are interested.
Taking about security, a Vosao User level is quite powerful and I'm pretty sure they can see all users. Have you changed that?
Second one is that you have hardcoded "/passwordchangeerror" in ForgotPasswordServlet. It should be configured for web site administrator.
Hello dear old streetcar ;-)