Skip to content

"My organization isn't listed." workflow is inconsistent #1589

@Yu-Chieh-Henry-Yang

Description

@Yu-Chieh-Henry-Yang

Expected behaviour:
I should not be able to edit the super admin in http://localhost:3000/super_admin/users/1/edit
OR
The "My organization isn't listed." button should work

Actual behaviour:
In http://localhost:3000/org/admin/users/admin_index, I can see the list of users, and there is no edit link under the privileges column. Then if I click that user who don't have the edit link button, I will arrive at http://localhost:3000/super_admin/users/1/edit.

But I shouldn't be able to edit it.

If I am able to edit it, the "My organization isn't listed." button doesn't work. (while the same button at http://localhost:3000/users/edit works)

Steps to reproduce:

  1. Setup the roadmap application from scratch according to installation wiki
  2. Open http://localhost:3000/org/admin/users/admin_index and click the first user (should be super user)
  3. see that clicking the "My organization isn't listed."button doesn't work

Note
I tried to debug the issue by doing a system search on the key word "My organization isn't listed." but the js are all ulgified, do you have a normal version somewhere?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions