Continuum

Add user form for self editing user details

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.1-alpha-1
  • Fix Version/s: 1.1-alpha-1
  • Component/s: Web interface
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

Users should be able to edit its own details (like email) and change their password

Of course thay can't edit their permissions or username

Reuse as much as possible the edit user page already done for administrators

Make sure the user id / username is not passed as argument anywhere, it must be retrieved by the UserManager object, to avoid dependency on acegi in maven-user-core i'm gonna create an interface there and add an implementation in maven-user-acegi

Activity

Hide
Nap Ramirez added a comment -

I'm thinking that, to reuse the same edit.jsp page in maven-user-webapp, we could use the authz taglib to disable the username text field and disable the stuff for editing the permissions. But wouldn't that tie acegi up with maven-user-webapp too much? Or am I just missing something?

Show
Nap Ramirez added a comment - I'm thinking that, to reuse the same edit.jsp page in maven-user-webapp, we could use the authz taglib to disable the username text field and disable the stuff for editing the permissions. But wouldn't that tie acegi up with maven-user-webapp too much? Or am I just missing something?
Hide
Carlos Sanchez added a comment -

Putting the acegi taglib in the jsp is fine

Show
Carlos Sanchez added a comment - Putting the acegi taglib in the jsp is fine
Hide
Nap Ramirez added a comment -

For now, disabling the username field is fixed in CONTINUUM-842. I added a menu item in the navigation that will hold the link to editing the user's own account. Now that I think of it, what roles would be needed for authorization? And where is the list of roles for acegi located?

Show
Nap Ramirez added a comment - For now, disabling the username field is fixed in CONTINUUM-842. I added a menu item in the navigation that will hold the link to editing the user's own account. Now that I think of it, what roles would be needed for authorization? And where is the list of roles for acegi located?
Hide
Nap Ramirez added a comment -

Factored the userForm out of the edit page. Created another edit screen for the normal user aside from the page used by the admin. The edit actions are split into 2 but still uses the same action class.

Show
Nap Ramirez added a comment - Factored the userForm out of the edit page. Created another edit screen for the normal user aside from the page used by the admin. The edit actions are split into 2 but still uses the same action class.
Hide
Jesse McConnell added a comment -

provided by p-sec integration and I think this part was pulled from an adapted from the maven-user edit user material

Show
Jesse McConnell added a comment - provided by p-sec integration and I think this part was pulled from an adapted from the maven-user edit user material

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: