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

Admin user role undefined on initial account #1632

Closed
MuhClaren opened this issue Dec 11, 2015 · 1 comment · Fixed by #1647
Closed

Admin user role undefined on initial account #1632

MuhClaren opened this issue Dec 11, 2015 · 1 comment · Fixed by #1647

Comments

@MuhClaren
Copy link

I deployed a fresh clone from github tonight, launched via "meteor" and registered the initial user, expecting the admin user role to be automatically assigned. It wasn't. The admin user had no admin access.

Console output in relevant part:

I20151210-20:11:35.450(-7)? [publish] admin-settings
I20151210-20:11:35.451(-7)? [methods] hasPermission ->  arguments: { '0': 'QKKXCYBxZZjjtKDoP', '1': 'view-privileged-setting' }
I20151210-20:11:35.451(-7)? [methods] getRolesForUser ->  arguments: { '0': 'QKKXCYBxZZjjtKDoP', '1': undefined }

Manually setting the role ( https://github.com/RocketChat/Rocket.Chat/wiki/Creating-the-First-Admin ) worked as expected.

@MuhClaren MuhClaren changed the title Admin user role is undefined / not being set on initial account creation Admin user role undefined on initial account Dec 11, 2015
@MuhClaren
Copy link
Author

relevant: #1646

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

Successfully merging a pull request may close this issue.

2 participants