This is an automated email from the ASF dual-hosted git repository.

EmryZhang pushed a commit to branch release/casbin-js-headers-20261107
in repository https://gitbox.apache.org/repos/asf/casbin-casbin.js.git

commit 3320b49fa277e0f134fa95283bbca5071b0b4eab
Author: Zhangyanrui123 <[email protected]>
AuthorDate: Sat Nov 7 23:32:44 2026 +0800

    docs: add ASF headers with explicit data classifications
---
 .github/semantic.yml                               | 17 +++++++++++++
 .github/workflows/ci.yml                           | 17 +++++++++++++
 .gitignore                                         | 17 +++++++++++++
 .rat-excludes                                      | 28 ++++++++++++++++++++++
 CHANGELOG.md                                       | 19 +++++++++++++++
 README.md                                          | 19 +++++++++++++++
 eslint.config.mjs                                  | 19 +++++++++++++++
 jest.environment.js                                | 19 +++++++++++++++
 src/Authorizer.ts                                  | 19 +++++++++++++++
 src/Cache.ts                                       | 19 +++++++++++++++
 src/Permission.ts                                  | 19 +++++++++++++++
 src/__test__/authorizer.test.ts                    | 19 +++++++++++++++
 src/__test__/cache.test.ts                         | 19 +++++++++++++++
 src/__test__/cookie.test.ts                        | 19 +++++++++++++++
 src/__test__/enforcer.test.ts                      | 19 +++++++++++++++
 .../examples/abac_with_obj_rule_model.conf         | 17 +++++++++++++
 src/__test__/examples/basic_model.conf             | 17 +++++++++++++
 src/__test__/examples/rbac_model.conf              | 17 +++++++++++++
 src/__test__/examples/rbac_with_domains_model.conf | 17 +++++++++++++
 src/__test__/index.test.ts                         | 19 +++++++++++++++
 src/__test__/models.ts                             | 19 +++++++++++++++
 src/__test__/multirole.test.ts                     | 19 +++++++++++++++
 src/__test__/permission.test.ts                    | 19 +++++++++++++++
 src/__test__/policies.ts                           | 19 +++++++++++++++
 src/__test__/server.ts                             | 19 +++++++++++++++
 src/index.ts                                       | 19 +++++++++++++++
 src/types.ts                                       | 19 +++++++++++++++
 src/webpack-dev-server-template.html               | 19 +++++++++++++++
 tsconfig.json                                      | 19 +++++++++++++++
 webpack.base.js                                    | 19 +++++++++++++++
 webpack.dev.js                                     | 19 +++++++++++++++
 webpack.prod.js                                    | 19 +++++++++++++++
 32 files changed, 603 insertions(+)

diff --git a/.github/semantic.yml b/.github/semantic.yml
index 96f9233..9fa8174 100644
--- a/.github/semantic.yml
+++ b/.github/semantic.yml
@@ -1,2 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # Always validate the PR title AND all the commits
 titleAndCommits: true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9ffe106..7f60b4f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 name: build
 
 on: [ push, pull_request ]
diff --git a/.gitignore b/.gitignore
index d2f6d09..17d6190 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 # See https://help.github.com/articles/ignoring-files/ for more about ignoring 
files.
 
 # dependencies
diff --git a/.rat-excludes b/.rat-excludes
new file mode 100644
index 0000000..1206ae4
--- /dev/null
+++ b/.rat-excludes
@@ -0,0 +1,28 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Strict JSON data/configuration without a supported comment syntax.
+.prettierrc
+package.json
+jestconfig.json
+# Generated dependency resolution data.
+yarn.lock
+# Short, declarative authorization test data: policy tuples without code.
+src/__test__/examples/abac_with_obj_rule_policy.csv
+src/__test__/examples/basic_policy.csv
+src/__test__/examples/rbac_policy.csv
+src/__test__/examples/rbac_with_domains_policy.csv
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 39d2ab8..a345ddb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,22 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 # 1.3.0 (unreleased)
 
 - Publish future versions as `apache-casbin.js`; update consumer imports 
accordingly.
diff --git a/README.md b/README.md
index 6bb4f5d..5369967 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 # Apache Casbin.js (Incubating)
 
 [![GitHub 
Actions](https://github.com/apache/casbin-casbin.js/workflows/build/badge.svg)](https://github.com/apache/casbin-casbin.js/actions)
diff --git a/eslint.config.mjs b/eslint.config.mjs
index e337b60..f24c2cc 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import js from '@eslint/js';
 import prettier from 'eslint-config-prettier';
 import globals from 'globals';
diff --git a/jest.environment.js b/jest.environment.js
index 61f2094..bd92408 100644
--- a/jest.environment.js
+++ b/jest.environment.js
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 const JsDOMEnvironment = require('jest-environment-jsdom').default;
 
 class FetchEnvironment extends JsDOMEnvironment {
diff --git a/src/Authorizer.ts b/src/Authorizer.ts
index 09e9b02..9b548ac 100644
--- a/src/Authorizer.ts
+++ b/src/Authorizer.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import * as casbin from 'casbin-core';
 import Cookies from 'js-cookie';
 import Permission from './Permission';
diff --git a/src/Cache.ts b/src/Cache.ts
index 8e4608a..b26f6d7 100644
--- a/src/Cache.ts
+++ b/src/Cache.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 const STORAGE_PREFIX = 'casbinjs_';
 
 const isLocalStorageAvailable: boolean = (() => {
diff --git a/src/Permission.ts b/src/Permission.ts
index d188b75..9e563e7 100644
--- a/src/Permission.ts
+++ b/src/Permission.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import { StringKV } from './types';
 
 export default class Permission {
diff --git a/src/__test__/authorizer.test.ts b/src/__test__/authorizer.test.ts
index 2a3b693..39fb943 100644
--- a/src/__test__/authorizer.test.ts
+++ b/src/__test__/authorizer.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import { Authorizer } from '../Authorizer';
 import { basicModelStr } from './models';
 
diff --git a/src/__test__/cache.test.ts b/src/__test__/cache.test.ts
index 23d1e59..bf227c4 100644
--- a/src/__test__/cache.test.ts
+++ b/src/__test__/cache.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import * as Cache from '../Cache';
 
 describe('permission cache', () => {
diff --git a/src/__test__/cookie.test.ts b/src/__test__/cookie.test.ts
index fe8b93a..429cd84 100644
--- a/src/__test__/cookie.test.ts
+++ b/src/__test__/cookie.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import Cookies from 'js-cookie';
 import { Authorizer } from '../Authorizer';
 import { rbacModelStr } from './models';
diff --git a/src/__test__/enforcer.test.ts b/src/__test__/enforcer.test.ts
index f581b76..9d314e9 100644
--- a/src/__test__/enforcer.test.ts
+++ b/src/__test__/enforcer.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import * as casbin from 'casbin-core';
 import { Authorizer } from '../Authorizer';
 import { basicModelStr, rbacModelStr, rbacWithDomainsModelStr } from 
'./models';
diff --git a/src/__test__/examples/abac_with_obj_rule_model.conf 
b/src/__test__/examples/abac_with_obj_rule_model.conf
index 9a574da..fd39c4c 100644
--- a/src/__test__/examples/abac_with_obj_rule_model.conf
+++ b/src/__test__/examples/abac_with_obj_rule_model.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 [request_definition]
 r = sub, obj, act
 
diff --git a/src/__test__/examples/basic_model.conf 
b/src/__test__/examples/basic_model.conf
index cee2566..8fd716f 100644
--- a/src/__test__/examples/basic_model.conf
+++ b/src/__test__/examples/basic_model.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 [request_definition]
 r = sub, obj, act
 
diff --git a/src/__test__/examples/rbac_model.conf 
b/src/__test__/examples/rbac_model.conf
index 71159e3..44c838c 100644
--- a/src/__test__/examples/rbac_model.conf
+++ b/src/__test__/examples/rbac_model.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 [request_definition]
 r = sub, obj, act
 
diff --git a/src/__test__/examples/rbac_with_domains_model.conf 
b/src/__test__/examples/rbac_with_domains_model.conf
index 57c3721..e5c51f2 100644
--- a/src/__test__/examples/rbac_with_domains_model.conf
+++ b/src/__test__/examples/rbac_with_domains_model.conf
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 [request_definition]
 r = sub, dom, obj, act
 
diff --git a/src/__test__/index.test.ts b/src/__test__/index.test.ts
index 6da7201..9ec8c67 100644
--- a/src/__test__/index.test.ts
+++ b/src/__test__/index.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import { Authorizer } from '../index';
 import { basicModelStr } from './models';
 import { basicPolicies } from './policies';
diff --git a/src/__test__/models.ts b/src/__test__/models.ts
index 90c7752..3f19a44 100644
--- a/src/__test__/models.ts
+++ b/src/__test__/models.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import { readFileSync } from 'fs';
 
 const basicExample = 'src/__test__/examples/basic_model.conf';
diff --git a/src/__test__/multirole.test.ts b/src/__test__/multirole.test.ts
index 693fbc1..4c02744 100644
--- a/src/__test__/multirole.test.ts
+++ b/src/__test__/multirole.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import { Authorizer } from '../Authorizer';
 import { rbacModelStr, rbacWithDomainsModelStr } from './models';
 
diff --git a/src/__test__/permission.test.ts b/src/__test__/permission.test.ts
index dfe14f1..20279a2 100644
--- a/src/__test__/permission.test.ts
+++ b/src/__test__/permission.test.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import Permission from '../Permission';
 
 describe('Permission unit test', () => {
diff --git a/src/__test__/policies.ts b/src/__test__/policies.ts
index ec5fbfc..6030081 100644
--- a/src/__test__/policies.ts
+++ b/src/__test__/policies.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import { readFileSync } from 'fs';
 
 function getPolicies(filename: string): string[][] {
diff --git a/src/__test__/server.ts b/src/__test__/server.ts
index 49cccc0..4f5fb76 100644
--- a/src/__test__/server.ts
+++ b/src/__test__/server.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 import * as http from 'http';
 import { AddressInfo } from 'net';
 import express from 'express';
diff --git a/src/index.ts b/src/index.ts
index 3a68ad9..9a85ff3 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 export * from './Authorizer';
 export * from './types';
 export { default as Permission } from './Permission';
diff --git a/src/types.ts b/src/types.ts
index 793b1b6..47b028e 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 export interface StringKV {
     [key: string]: string[];
 }
diff --git a/src/webpack-dev-server-template.html 
b/src/webpack-dev-server-template.html
index b836c22..3bc3787 100644
--- a/src/webpack-dev-server-template.html
+++ b/src/webpack-dev-server-template.html
@@ -1,3 +1,22 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <!DOCTYPE html>
 <html>
   <head>
diff --git a/tsconfig.json b/tsconfig.json
index e3c4913..4a9990b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 {
   "compilerOptions": {
     /* Visit https://aka.ms/tsconfig.json to read more about this file */
diff --git a/webpack.base.js b/webpack.base.js
index ac37f09..1c38ef5 100644
--- a/webpack.base.js
+++ b/webpack.base.js
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 const path = require('path');
 const { CleanWebpackPlugin } = require('clean-webpack-plugin');
 
diff --git a/webpack.dev.js b/webpack.dev.js
index 37204cc..b2a4bb5 100644
--- a/webpack.dev.js
+++ b/webpack.dev.js
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 const path = require('path');
 const { merge } = require('webpack-merge');
 const HtmlWebpackPlugin = require('html-webpack-plugin');
diff --git a/webpack.prod.js b/webpack.prod.js
index 05eb74c..f2e3a01 100644
--- a/webpack.prod.js
+++ b/webpack.prod.js
@@ -1,3 +1,22 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+*/
+
 const { merge } = require('webpack-merge');
 const base = require('./webpack.base');
 module.exports = merge(base, {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to