Closed
Bug 627578
Opened 15 years ago
Closed 9 years ago
Offer a page for users to edit their own accounts
Categories
(Mozilla QA Graveyard :: MozTrap, enhancement, P1)
Mozilla QA Graveyard
MozTrap
Tracking
(Not tracked)
RESOLVED
WONTFIX
0.4
People
(Reporter: aakashd, Unassigned)
References
Details
Attachments
(1 file)
|
92.57 KB,
image/png
|
Details |
The "Account Settings" hyperlink on the top right needs a place to go to! The attached mock-up offers a page with user account information.
Ways to Instance Page:
1. Click on "Account Settings hyperlink"
2. Click on "edit" link within a row entry in the user management pane
Details:
* Each of the name, email address and passwords fields should be populated to either the logged-in user's account information (from ways-to-instance #1) or the selected user's account information (from ways-to-instance #2).
* Confirm password is required if the password field is changed.
Comment 1•15 years ago
|
||
Oh, I'd commented out the Account Settings link for .1 since we didn't have this story. We can add this to .1, though it doesn't seem like the highest priority, so I'll focus on the other bugs first.
| Reporter | ||
Updated•15 years ago
|
Target Milestone: 0.1 → 0.3
| Reporter | ||
Updated•15 years ago
|
Target Milestone: 0.3 → 0.2
| Reporter | ||
Updated•15 years ago
|
Target Milestone: 0.2 → 0.3
Comment 2•15 years ago
|
||
Carl, does this look close to the required API list for this feature?
----------------
/companies/
/companies/{id}
/users/
/users/current/
/users/permissions/
/users/permissions/{id}/
/users/roles/
/users/roles/{id}/
/users/roles/{id}/permissions/
/users/roles/{id}/permissions/{permissionId}
/users/{id}/
/users/{id}/activate/
/users/{id}/deactivate/
/users/{id}/emailchange/{newemail}/
/users/{id}/emailconfirm/
/users/{id}/passwordchange/{newpassword}/
/users/{id}/permissions/
/users/{id}/roles/
/users/{id}/roles/{roleId}
Comment 3•15 years ago
|
||
(In reply to comment #2)
> Carl, does this look close to the required API list for this feature?
That looks pretty comprehensive. It doesn't specify methods for each URL, if you assume "all methods" that probably includes a few we wouldn't need, but won't be far off.
I'm noticing that this bug really ought to be split in two. The "edit my account" screen a regular user sees and the "edit user" screen that an admin sees are quite different. The former wouldn't include anything to do with roles or permissions, as a user can't edit their own roles/permissions. The former also wouldn't include activate/deactivate, as that's something only an admin would do.
Comment 4•15 years ago
|
||
OK, cool. Yeah, I think I'll update the list to specify the methods, too.
Yeah, I was starting to think that, too, when I was looking at APIs. As a user can't change their Roles and permissions, unless they're already admin or something.
I'll break these out, since even if they share a lot of code, they'll be tested very differently.
Updated•15 years ago
|
Summary: Offer a page to edit individual user accounts → Offer a page for users to edit their own accounts
Comment 5•15 years ago
|
||
Updated API list for this feature:
----------------
/companies/ GET
/companies/{id} GET
/users/current/ GET
/users/permissions/ GET
/users/permissions/{id}/ GET
/users/roles/ GET
/users/roles/{id}/ GET
/users/roles/{id}/permissions/ GET
/users/roles/{id}/permissions/{permissionId} GET
/users/{id}/ GET PUT
/users/{id}/emailchange/{newemail}/ PUT
/users/{id}/emailconfirm/ PUT
/users/{id}/passwordchange/{newpassword}/ PUT
/users/{id}/permissions/ GET
/users/{id}/roles/ GET
Comment 6•15 years ago
|
||
(In reply to comment #5)
> /companies/ GET
> /companies/{id} GET
> /users/current/ GET
The first of these will not be needed, the second can be assumed to be needed for all pages.
> /users/permissions/ GET
> /users/permissions/{id}/ GET
I doubt we'd refer to permissions here individually, if we display anything it would just be in terms of roles.
> /users/roles/ GET
> /users/roles/{id}/ GET
> /users/roles/{id}/permissions/ GET
> /users/roles/{id}/permissions/{permissionId} GET
Again, probably no need for these last two.
> /users/{id}/ GET PUT
> /users/{id}/emailchange/{newemail}/ PUT
> /users/{id}/emailconfirm/ PUT
> /users/{id}/passwordchange/{newpassword}/ PUT
> /users/{id}/permissions/ GET
> /users/{id}/roles/ GET
Yep!
Comment 7•15 years ago
|
||
Thanks for the quick response!
Update 2 of API list for this feature:
----------------
/companies/{id} GET
/users/current/ GET
/users/roles/ GET
/users/roles/{id}/ GET
/users/{id}/ GET PUT
/users/{id}/emailchange/{newemail}/ PUT
/users/{id}/emailconfirm/ PUT
/users/{id}/passwordchange/{newpassword}/ PUT
/users/{id}/permissions/ GET
/users/{id}/roles/ GET
Comment 8•15 years ago
|
||
(In reply to comment #7)
> Thanks for the quick response!
> Update 2 of API list for this feature:
Yup, seems right to me.
Comment 9•15 years ago
|
||
APIs for this feature are all automated
Comment 10•15 years ago
|
||
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/12857297
Updated•15 years ago
|
Target Milestone: 0.3 → 0.4
Comment 11•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
this should probably just be the same user edit screen we have, but remove the roles options for non admins. possibly add a reset password link that goes to the existing reset password screen.
Mass-closing remaining MozTrap bugs as WONTFIX, due to 1) the Mozilla-hosted instance being decommissioned (see https://wiki.mozilla.org/TestEngineering/Testrail), and, for now, 2) the still-up code archived at its GitHub page: https://github.com/mozilla/moztrap (we'll decide what's next for that, in the near future).
See also the history and more-detailed discussion which led us here, at https://groups.google.com/forum/#!topic/mozilla.dev.quality/Sa75hV8Ywvk
(If you'd like, you should be able to filter these notification emails using at least the unique string of "Sa75hV8Ywvk" in the message body.
Thanks!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•