Admins collection > User collection #1639
jakehopking
started this conversation in
General
Replies: 2 comments 4 replies
-
The user collection has been created in mongodb, and I can see that drafts has been enabled too. Do I need to create and admin user document on mongodb to enable login? If so, how can I do this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
If the admin panel isn't rendering at all, then I'd open your inspector, look at your Network tab, and try and see if there is a crashing request being made. Maybe one of your access control functions is crashing. I'd start there. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had my previous access setup very basic, and I want to move to a more granular setup which includes roles, with field level access and to integrated with drafts etc.
I've tried copying the way you do so from the
website-cms
repo, however I'm now locked out of my admin panel. The login dialog won't render :/ which suggests I've missed something fundamental. Surely the dialog should render even if I change the access collection?Any guidance here? Happy to share any code you need...
My previous Admins collection was like this:
And I've moved to your implementation of a User collection.
Beta Was this translation helpful? Give feedback.
All reactions