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

Dancer2::Plugin::Database #78

Open
h707 opened this issue Jul 21, 2017 · 1 comment
Open

Dancer2::Plugin::Database #78

h707 opened this issue Jul 21, 2017 · 1 comment

Comments

@h707
Copy link

h707 commented Jul 21, 2017

The latest available versions are installed via cpanm. Postgresql database.
Changing the settings does not affect the operation of the module, the data is taken by default.
Authorization works, and the list of roles can not be obtained.

To store information on the user, another table has been created, where e-mail, fullname, address is stored. Id in both tables are the same.

disable_roles: 0
users_table: 'auth'
roles_table: 'roles'
user_roles_table: 'auth_roles'
users_id_column: 'id'
users_username_column: 'login'
users_password_column: 'password'
roles_id_column: 'id'
roles_role_column: 'role'
user_roles_user_id_column: 'auth_id'
user_roles_role_id_column: 'roles_id'

@bigpresh
Copy link
Member

Sorry this didn't get responded to for so long!

Did you get to the bottom of it, or is there still a problem?

If there's still a problem, are you able to share your DB schema?

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