Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Process of creating a new admin is half broken (Christmas bonus special) #169

Open
@HcsOmot

Description

@HcsOmot

When an existing admin tries to create an account for a new admin, they can't reach the confirmation page.

New account gets created, and user is inserted into db. But redirection to Confirmation page is broken (I'm guessing fos:user automatically logs in the newly created user and tries to redirect them to /register/confirmed).
This is happening because the default role fos:user assigns to new users is ROLE_USER, and we have restricted access to /register to ROLE_ADMIN level users (or higher).

@msvrtan any ideas on what our options are?

TODO:

  • add tests for this feature
  • prove it fails
  • fix the problem
  • prove it's fixed

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions