| # 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 | |
| # | |
| # https://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. | |
| relative_path = '../../' | |
| basic_model_path = relative_path + 'examples/basic_model.conf' | |
| basic_policy_path = relative_path + 'examples/basic_policy.csv' | |
| rbac_model_path = relative_path + 'examples/rbac_model.conf' | |
| rbac_policy_path = relative_path + 'examples/rbac_policy.csv' | |
| rbac_with_resource_roles_model_path = relative_path + 'examples/rbac_with_resource_roles_model.conf' | |
| rbac_with_resource_roles_policy_path = relative_path + 'examples/rbac_with_resource_roles_policy.csv' | |
| rbac_with_domains_model_path = relative_path + 'examples/rbac_with_domains_model.conf' | |
| rbac_with_domains_policy_path = relative_path + 'examples/rbac_with_domains_policy.csv' | |
| keymatch_model_path = relative_path + 'examples/keymatch_model.conf' | |
| keymatch_policy_path = relative_path + 'examples/keymatch_policy.csv' | |
| rbac_with_deny_model_path = relative_path + 'examples/rbac_with_deny_model.conf' | |
| rbac_with_deny_policy_path = relative_path + 'examples/rbac_with_deny_policy.csv' | |
| priority_model_path = relative_path + 'examples/priority_model.conf' | |
| priority_policy_path = relative_path + 'examples/priority_policy.csv' | |
| basic_model_without_spaces_path = relative_path + 'examples/basic_model_without_spaces.conf' | |
| testini_path = relative_path + 'casbin/config/testdata/testini.ini' |