diff --git a/docs/content/interacting/transactional-writes.mdx b/docs/content/interacting/transactional-writes.mdx index 9fd615c42..b3e605c65 100644 --- a/docs/content/interacting/transactional-writes.mdx +++ b/docs/content/interacting/transactional-writes.mdx @@ -138,7 +138,7 @@ And if you want to convert this `tweet` to private, you would need to delete tha By removing the tuple, we made the tweet visible to no-one, which may not be what we want. -The Write API allows you to send up to 10 unique tuples in the request. (This limit applies to the sum of both writes and deletes in that request). This means we can submit one API call that converts the `tweet` from public to visible to only the `user`'s followers. +The Write API allows you to send up to 100 unique tuples in the request. (This limit applies to the sum of both writes and deletes in that request). This means we can submit one API call that converts the `tweet` from public to visible to only the `user`'s followers. -Modular models allows splitting your authorization module across multiple files and modules, improving upon some of the challenges that may be faced when operating an authorization model within a company, such as: +Authorization is application-specific. In an organization with multiple teams building different applications or modules, each team should be able to define and evolve their authorization policies independently. -- A model can grow large and difficult to understand -- As more teams begin to contribute to a model, the ownership boundaries may not be clear and code review processes might not scale +Modular models allows splitting your authorization model across multiple files and modules, improving upon some of the challenges that may be faced when maintaining an authorization model within a company, such as: + +- A model can grow large and difficult to understand. +- As more teams begin to contribute to a model, the ownership boundaries may not be clear and code review processes might not scale. With modular models, a single model can be split across multiple files in a project. It can be organized in a way that makes sense for the project or teams collaborating on it, and it enables ownership for reviews to be expressed using a feature such as [GitHub's](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners), [GitLab's](https://docs.gitlab.com/ee/user/project/codeowners/) or [Gitea's](https://docs.gitea.com/usage/code-owners) code owners. @@ -44,9 +46,9 @@ The `fga.mod` is the project file for modular models. This file specifies the sc ### Modules -Modules are declared using the `module` keyword in the DSL, and a module can be written across multiple files. A single file cannot have more than one module. + modules define the types and relations for a specific application module or service. -Currently, modules are stored as metadata but are not used by . Module metadata will be used in upcoming features, such as applying authorization to writing and reading/querying tuples. +Modules are declared using the `module` keyword in the DSL, and a module can be written across multiple files. A single file cannot have more than one module. ### Type Extensions diff --git a/package-lock.json b/package-lock.json index 2cb08c1da..598b569b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5813,9 +5813,9 @@ } }, "node_modules/axios": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", - "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", + "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", "dependencies": { "follow-redirects": "^1.15.6", "form-data": "^4.0.0",