Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Replace with proper status logic for calling userService.signUp in RestUserController > register #22

Open
lealceldeiro opened this issue Jan 25, 2020 · 0 comments
Assignees
Labels
enhancement server Issues related to the backend.

Comments

@lealceldeiro
Copy link
Owner

Is your feature request related to a problem? Please describe.

For example, in the current logic, something like

EUser u = userService.signUp(
                user.getContent(),
                UserService.EmailStatus.VERIFIED,
                UserService.RegistrationPrivilege.SUPER_USER
        );

the third and fourth arguments are always VERIFIED for the email status and SUPER_USER for registration privilege.

Describe the solution you'd like
This should be reworked when the security system is fully functional, and proper permissions have been placed properly for each system role.

@lealceldeiro lealceldeiro added enhancement server Issues related to the backend. labels Jan 25, 2020
@lealceldeiro lealceldeiro self-assigned this Jan 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement server Issues related to the backend.
Projects
None yet
Development

No branches or pull requests

1 participant