Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default groups when registering #164

Closed
lebidvadim opened this issue Mar 1, 2020 · 4 comments
Closed

Default groups when registering #164

lebidvadim opened this issue Mar 1, 2020 · 4 comments

Comments

@lebidvadim
Copy link

Hi, it’s not enough in the config to the package to set the default group to which users will be registered. And also add to migration so that the initial groups are already created in the database (Admin, Manager, User)

@lonnieezell
Copy link
Owner

I'm confused what you're reporting. Yes, you have to create the group in your database that you want to use and then set that value in the config. Is there a bug?

@lebidvadim
Copy link
Author

Everything works fine, only one big minus if I have already created groups, then I need to specify in the config which group to register users for, because now it is not in which group the new user does not fall into.

@lebidvadim
Copy link
Author

I've created groups in auth_groups and now when I start registering a user, the record only goes to users and it should still go to auth_groups_users, and as I understand it, there is no default deletion into which group to register users.

@lonnieezell
Copy link
Owner

You're correct - there is no default role that gets assigned, and that's an oversight. Will be working on that this week. Started putting some controller tests in place last night for the registration process. Once I have that ironed out I will get the default role functionality in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants