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 initialisation is broken #29

Open
r1chardj0n3s opened this issue Feb 7, 2013 · 1 comment
Open

Default initialisation is broken #29

r1chardj0n3s opened this issue Feb 7, 2013 · 1 comment
Assignees
Milestone

Comments

@r1chardj0n3s
Copy link

The following will fail because the initialisation doesn't add the "user" role.

aaa = Cork(config['auth_dir'], initialize=True)
aaa.register(...)

Code also cannot add the "user" role using aaa.create_role() because that call requires an authenticated user with a role level 100. Such a role obviously doesn't exist at this point, and no user exists because I can't register (or create_user.)

@ghost ghost assigned FedericoCeratto Feb 7, 2013
@cloudops
Copy link

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

No branches or pull requests

2 participants