Skip to content

Commit

Permalink
docs: document that connect privileges are only granted when the data…
Browse files Browse the repository at this point in the history
…base exists
  • Loading branch information
berenddeboer committed Sep 29, 2022
1 parent 366d42a commit b3c03c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/role.custom-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface RoleProps {
readonly database?: IDatabase

/**
* Ootional database name this user is expected to use.
* Optional database name this user is expected to use.
*
* Specify none of `database` or `databaseName` or only one of them.
*
Expand Down
6 changes: 5 additions & 1 deletion src/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@ export interface RoleProps {
/**
* Optional database this user is expected to use.
*
* If the database exists, connect privileges are granted.
*
* Specify none of `database` or `databaseName` or only one of them.
*
* @default no connection to any database is granted
*/
readonly database?: IDatabase

/**
* Ootional database name this user is expected to use.
* Optional database name this user is expected to use.
*
* If the database exists, connect privileges are granted.
*
* Specify none of `database` or `databaseName` or only one of them.
*
Expand Down

0 comments on commit b3c03c6

Please sign in to comment.