Skip to content
Discussion options

You must be logged in to vote

Hey folks, the user/pass, token, or a list of users in the top-level authorization block was one of original config options (pre-multi tenancy and system account). When multi-tenancy was introduced, this block still works and defaults to an implicit $G account.

For setups that want the system account exposed and one or more application accounts, the accounts block should be used.

However if you only define the system account, the default account named $G is still in effect and does not require auth. the simplest way to address is to define a new explicit account.

accounts {
  SYS: {
    users: [
      { user: sys, password: sys }
    ]
  }
  APP: {}  # <- whatever name you want
}

system_…

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@alexherington
Comment options

Comment options

You must be logged in to vote
1 reply
@alexherington
Comment options

Comment options

You must be logged in to vote
7 replies
@cascadia-sati
Comment options

@bruth
Comment options

@alexherington
Comment options

@derekcollison
Comment options

@alexherington
Comment options

Answer selected by alexherington
Comment options

You must be logged in to vote
2 replies
@derekcollison
Comment options

@derekcollison
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants