첫 커밋: 로컬 프로젝트 업로드
This commit is contained in:
commit
6a8dbeb2e9
1211 files changed
+312864
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
schema_file="docker/ory/kratos/identity.schema.json"
|
||||
|
||||
forbidden_traits="hanmacFamily userType"
|
||||
|
||||
for trait in $forbidden_traits; do
|
||||
if grep -Fq "\"$trait\"" "$schema_file"; then
|
||||
echo "forbidden Kratos trait in $schema_file: $trait" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
echo "kratos identity schema policy checks passed"
|
||||
Reference in new issue
Block a user