Closed donmasakayan closed 7 years ago
Unsure if related, but when I go to admin/accounts, there are no entries. Is this normal? I am currently logged in with an admin account that was created via Accounts.createUser()
Can you run meteor reset ?
Ok ,
Most likely this problem is caused due to roles being assigned properly. Take a look at the original orion examples project for "blog" https://github.com/orionjs/examples .
Once i've gotten things ironed out with Scorpius I will be writing documentation to help. With update examples and boilerplate projects.
For now if you create a user without the proper role of admin, You will experience this issue.
Ok the admin sidebar links show now. I had to do a meteor reset. navigate to localhost:3000/admin. And register a user with the proper admin role.
Yes, so signing up through the register form, ensures the proper role of admin
is assigned to the first user. Also see the example project on how to define other role types. Again documentation will be coming soon for all of this.
Closing this issue in lieu of @ecuanaso 's solution.
If you're adding via robomongo or something, the proper role is: "_id": "askfhgoahwrij", ..., "roles": ["admin"]
There are no admin links on the sidebar. No console errors. Also happens with latest version of Orion.
Meteor version: Meteor 1.4.1.1
Chrome:
Firefox: