Skip to content

Commit ece636c

Browse files
committed
Update to the Apache 2.0 license
Update the license from proprietary to the Apache 2.0 license per open source agreement with Extreme Networks.
1 parent b344fb8 commit ece636c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1001
-538
lines changed

LICENSE

+201-123
Large diffs are not rendered by default.

Makefile

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
2-
# Unauthorized copying of this file, via any medium is strictly prohibited
3-
# Proprietary and confidential
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
414

515
ROOT_DIR ?= $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
616
CURRENT_DIR ?= $(shell pwd)

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# StackStorm Enterprise RBAC Backend for StackStorm Enterprise Edition
22

3-
[![Circle CI Build Status](https://circleci.com/gh/extremenetworks/st2-enterprise-rbac-backend.svg?style=shield&circle-token=eaf1bdcfc552072706ef0a6e68049f285dd33a03)](https://circleci.com/gh/extremenetworks/st2-enterprise-rbac-backend)
4-
53
StackStorm RBAC backend for enterprise version which contains all the proprietary RBAC
64
(permission resolving) business logic.
75

@@ -61,6 +59,10 @@ upstream yet.
6159

6260
Copyright 2015-2020 Extreme Networks, Inc.
6361

64-
Unauthorized copying of this file, via any medium is strictly prohibited. Proprietary and confidential. See the [LICENSE](LICENSE) file included with this work for details.
62+
Copyright 2020 StackStorm, Inc.
63+
64+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the [LICENSE](LICENSE) file, or at:
65+
66+
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
6567

6668
By contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.

debian/control

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
Source: st2-rbac-backend
22
Section: Python
33
Priority: optional
4-
Maintainer: Extreme Networks <support@extremenetworks.com>
4+
Maintainer: StackStorm Engineering <opsadmin@stackstorm.com>
55
Build-Depends: debhelper (>= 8.0.0)
66
Standards-Version: 3.9.4
7-
Homepage: https://www.extremenetworks.com/product/workflow-composer/
7+
Homepage: http://stackstorm.com/
88

99
Package: st2-rbac-backend
1010
Architecture: amd64
1111
Pre-Depends: st2
1212
Depends: ${misc:Depends}, crudini, st2
13-
Description: RBAC backend for EWC
14-
RBAC Backend for Extreme Workflow Composer. Provides granual control over
15-
access to resources.
13+
Description: RBAC backend for StackStorm

debian/copyright

+21-122
Large diffs are not rendered by default.

dist_utils.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# -*- coding: utf-8 -*-
22
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
33
#
4-
# Unauthorized copying of this file, via any medium is strictly
5-
# prohibited. Proprietary and confidential. See the LICENSE file
6-
# included with this work for details.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
715

816
from __future__ import absolute_import
917
import os

rpm/LICENSE

+201-123
Large diffs are not rendered by default.

rpm/st2-rbac-backend.spec

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Version: %{version}
1818
Epoch: %{epoch}
1919
%endif
2020
Release: %{release}
21-
License: Extreme Workflow Composer EULA
22-
Summary: RBAC Backend for EWC
23-
URL: https://www.extremenetworks.com/product/workflow-composer/
21+
License: Apache 2.0
22+
Summary: RBAC Backend for StackStorm
23+
URL: https://stackstorm.com
2424
Source0: st2-enterprise-rbac-backend
2525

2626
Requires: crudini st2
@@ -38,7 +38,7 @@ Requires: crudini st2
3838
%{nil}
3939

4040
%description
41-
RBAC Backend for Extreme Workflow Composer
41+
RBAC Backend for StackStorm
4242

4343
%prep
4444
rm -rf %{buildroot}

setup.py

+15-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
import os
816

@@ -24,14 +32,12 @@
2432
setup(
2533
name='st2-enterprise-rbac-backend',
2634
version=version,
27-
description='Enterprise RBAC backend for StackStorm.',
35+
description='RBAC backend for StackStorm.',
2836
author='StackStorm, Inc.',
2937
author_email='[email protected]',
30-
url='https://github.com/extremenetworks/st2-enterprise-rbac-backend',
31-
license='Proprietary License',
32-
download_url=(
33-
'https://github.com/extremenetworks/st2-enterprise-rbac-backend/tarball/master'
34-
),
38+
url='https://stackstorm.com/',
39+
license='Apache License (2.0)',
40+
download_url='https://stackstorm.com/',
3541
classifiers=[
3642
'License :: Other/Proprietary License'
3743
'Programming Language :: Python',
+11-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
__version__ = '3.3dev'

st2rbac_enterprise_backend/backend.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
from st2common.rbac.backends.base import BaseRBACBackend
816

st2rbac_enterprise_backend/cmd/apply_rbac_definitions.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
A script which applies RBAC definitions and role assignments stored on disk.

st2rbac_enterprise_backend/loader.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
Module for loading RBAC role definitions and grants from the filesystem.

st2rbac_enterprise_backend/resolvers.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
Module containing resolver classes which contain permission resolving logic for different resource

st2rbac_enterprise_backend/service.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
Module containing utility RBAC service related functions.

st2rbac_enterprise_backend/syncer.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
Module for syncing RBAC definitions in the database with the ones from the filesystem.

st2rbac_enterprise_backend/utils.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
Module containing utility RBAC functions.

tests/base.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
"""
816
Module containing base classes for API controller RBAC tests.

tests/unit/controllers/api/v1/test_action_views_rbac.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
import six
816
import mock

tests/unit/controllers/api/v1/test_actions_rbac.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
import mock
816
import six

tests/unit/controllers/api/v1/test_alias_execution_rbac.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
import mock
816

tests/unit/controllers/api/v1/test_auth_api_keys_rbac.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
# Copyright (C) 2020 Extreme Networks, Inc - All Rights Reserved
22
#
3-
# Unauthorized copying of this file, via any medium is strictly
4-
# prohibited. Proprietary and confidential. See the LICENSE file
5-
# included with this work for details.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
614

715
import six
816

0 commit comments

Comments
 (0)