surrealdb / docs.surrealdb.com

The documentation for SurrealDB, powered by Docusaurus
https://surrealdb.com/docs/
70 stars 112 forks source link

Documentation: On define token page, "DEFINE DATABASE" should be replaced with "DEFINE TOKEN" #660

Closed tobin-riff closed 1 month ago

tobin-riff commented 1 month ago

Description

In the docs for "DEFINE TOKEN" the Requirements section is as follows:

Requirements

  • To DEFINE TOKEN ... ON NAMESPACE ... you must have root or namespace level access.
  • To DEFINE TOKEN ... ON DATABASE ... you must have root, namespace, or database level access.
  • To DEFINE TOKEN ... ON SCOPE ... you must have root, namespace, or database level access.
  • You must select your namespace and/or database before you can use the DEFINE DATABASE statement for database or namespace tokens.

On the last bullet, I believe "DEFINE DATABASE" should be "DEFINE TOKEN".

Is there an existing issue for this?

Code of Conduct