Limited Policies Information

オープン
#238 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@hola-soy-milk がすでに取り組んでいます。

2025年3月17日 から。

評価

この issue はまだ評価されていません。

説明

https://directus.io/docs/guides/auth/access-control

I'd expect to find some more information here about Policies, how they work, how they are merged when using multiple and such. There is some mention of policies but are often still referred to as permissions which can be confusing.

As a user starts with no permissions, and multiple policies can set a permission on the same collection and actions. Applying policies is additive - each policy can add to existing permissions, but not take them away.

^ is all I could find about merging of policies which is technically correct but also not very descriptive.

We used to have a developer blog post going into deeper detail i think but these do not live in the old codebase so I am unable to link to it.

主要言語
TypeScript
スター
24
フォーク
90
平均マージ
3日 22時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

directus/docs のほかの issue

directus/docs の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。