roberttdev / dactyl4

DACTYL in Rails 4
MIT License
1 stars 0 forks source link

When Account is Re-Enabled, the Role Shows as Contributor #93

Closed wsloand closed 9 years ago

wsloand commented 9 years ago

See title.

Steps to reproduce:

  1. Create an account
    • Login
    • Click the "Accounts" tab
    • Click the DACTYL project on the left
    • Click "+ New Account"
    • Give a first name, last name, email address, and role
    • Click "OK"
  2. Click the edit pencil next to their name.
  3. Click the "disable" button
  4. Click the "disable" button
    • Role shows as "(Disabled)"
  5. Click the edit pencil next to their name
  6. Click "re-enable"

Expected result: The role shows as the original role.

Result: The role shows "Contributor".

wsloand commented 9 years ago

Secondary to this. When I go back in (log out and log back in, then go to the accounts), the user doesn't show up. This is a bigger issue

wsloand commented 9 years ago

The account creation email link still works and I now have an account that I can't see on the account list page.

roberttdev commented 9 years ago

Fixed

wsloand commented 9 years ago

Looks good