flow-db-admin icon indicating copy to clipboard operation
flow-db-admin copied to clipboard

Only use admin for users

Open tim-phillips opened this issue 6 years ago • 0 comments

How can I use this package for only user admin?

Even if I create the AdminConfig global object, I still get the following message at /admin:

You need to define an AdminConfig object to use the admin dashboard. 
A basic config to manage the 'Posts' and 'Comments' collection would look like this: 
AdminConfig = { 
adminEmails: ['	[email protected]'], 
collections: 
{ 
Posts: {}, 
Comments: {} 
} 
}

My code (it is getting called, I tried a console.log just to make sure):

AdminConfig = {
  name: 'App',
  adminEmails: ['[email protected]']
}

tim-phillips avatar Jan 22 '18 02:01 tim-phillips